Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 172 for setPath (0.05 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

            setEncoding((String) src.get(ENCODING));
            final String dataStr = (String) src.get(DATA);
            if (dataStr != null) {
                try {
                    setData(Base64Util.decode(dataStr));
                } catch (final Exception e) {
                    throw new OpenSearchAccessException("data: " + dataStr, e);
                }
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

            .build()
        assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
        assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected)
      }
    
      @Test fun setDate() {
        val expected = Date(1000)
        val headers =
          Headers
            .Builder()
            .add("testDate", Date(0L))
            .set("testDate", expected)
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesTest.java

      private static class BadLengthFile extends File {
    
        private final long badLength;
    
        BadLengthFile(File delegate, long badLength) {
          super(delegate.getPath());
          this.badLength = badLength;
        }
    
        @Override
        public long length() {
          return badLength;
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                String url = "smb1://server/share/file.txt";
                SmbFile smbFile = new SmbFile(url);
                assertNotNull(smbFile);
                assertEquals("smb1://server/share/file.txt", smbFile.getPath());
            }
    
            @Test
            public void testConstructorWithValidUrlAndAuth() throws MalformedURLException {
                // Test constructor with authentication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         */
        public void updateAccessTime() {
            this.lastAccessTime = System.currentTimeMillis();
        }
    
        /**
         * Get the file path
         * @return the path
         */
        public String getPath() {
            return path;
        }
    
        /**
         * Get the create GUID
         * @return the create GUID
         */
        public HandleGuid getCreateGuid() {
            return createGuid;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                    form.dictId = dictId;
                });
            }).renderWith(data -> {
                kuromojiService.getKuromojiFile(dictId).ifPresent(file -> {
                    RenderDataUtil.register(data, "path", file.getPath());
                }).orElse(() -> {
                    throwValidationError(messages -> messages.addErrorsFailedToDownloadKuromojiFile(GLOBAL), this::asDictIndexHtml);
                });
            });
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultData.java

         */
        String getDataAsString();
    
        /**
         * Sets the data for this AccessResultData instance.
         *
         * @param data the byte array containing the data to be set
         */
        void setData(byte[] data);
    
        /**
         * Retrieves the encoding used for the access result data.
         *
         * @return the encoding as a String.
         */
        String getEncoding();
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

                ResourceUtil.getResource("hoge", "xml");
                fail("2");
            } catch (final ResourceNotFoundRuntimeException e) {
                System.out.println(e);
                assertEquals("3", "hoge.xml", e.getPath());
            }
            System.out.println(ResourceUtil.getResource("."));
        }
    
        /**
         * @throws Exception
         */
        public void testGetResourceAsStreamNoException() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

            final ResultData resultData = new ResultData();
            resultData.setTransformerName(getName());
    
            try (BufferedInputStream bis = new BufferedInputStream(responseData.getResponseBody())) {
                resultData.setData(IOUtils.toByteArray(bis));
                resultData.setEncoding(responseData.getCharSet());
                return resultData;
            } catch (final IOException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        @Override
        public File getFile() {
            return null;
        }
    
        @Override
        public MetadataBridge setFile(File file) {
            return this;
        }
    
        @Override
        public Path getPath() {
            return null;
        }
    
        @Override
        public Nature getNature() {
            if (metadata instanceof RepositoryMetadata repositoryMetadata) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top