Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 291 for getPath (0.05 seconds)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        public void test_getType() {
            assertEquals("protwords", protwordsFile.getType());
        }
    
        @Test
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), protwordsFile.getPath());
        }
    
        @Test
        public void test_getSimpleName() {
            String expected = testFile.getName();
            assertEquals(expected, protwordsFile.getSimpleName());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                    throw new CrawlingAccessException(
                            "Invalid FTP scheme: expected 'ftp://' but got '" + uri.getScheme() + "://' for URI: " + s);
                }
    
                final String path = uri.getPath();
                if (path == null) {
                    parent = "/";
                    name = null;
                } else {
                    final String[] values = path.replaceAll("/+", "/").replaceFirst("/$", "").split("/");
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            DfsReferralData dr = mock(DfsReferralData.class);
            when(dr.getServer()).thenReturn("dfs-server");
            when(dr.getShare()).thenReturn("dfs-share");
            when(dr.getPath()).thenReturn("dfs/path");
            when(dr.getPathConsumed()).thenReturn(2); // consume leading \\ from UNC
    
            String newUnc = l.handleDFSReferral(dr, "\\req\\");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), classifier, extension);
            try {
                // Log nothing as creating links should be very fast.
                Path source = artifact.getPath();
                if (!(Files.isRegularFile(target) && Files.isSameFile(source, target))) {
                    Files.createDirectories(target.getParent());
                    try {
                        Files.deleteIfExists(target);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            String url, type;
            int n;
    
            try (SmbFileInputStream in = new SmbFileInputStream(file); ServletOutputStream out = resp.getOutputStream()) {
                url = file.getPath();
    
                resp.setContentType("text/plain");
    
                n = url.lastIndexOf('.');
                if (n > 0 && (type = url.substring(n + 1)) != null && type.length() > 1 && type.length() < 6) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                logger.debug("Processing thumbnail: {}", entity);
            }
            final String generatorName = entity.getGenerator();
            try {
                final File outputFile = new File(baseDir, entity.getPath());
                final File noImageFile = new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX);
                final Path noImagePath = noImageFile.toPath();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                                        cookie.getName(), encoded.length(), cookie.getMaxAge(), cookie.getPath(), cookie.getDomain(),
                                        cookie.getSecure(), cookie.isHttpOnly(), fessConfig.getCookieSearchParameterSameSite());
                            }
                        });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/reflect/ClassPath.java

        try {
          return new File(url.toURI()); // Accepts escaped characters like %20.
        } catch (URISyntaxException e) { // URL.toURI() doesn't escape chars.
          return new File(url.getPath()); // Accepts non-escaped chars like space.
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                        return chainedResponse;
                    }
    
                    if (request instanceof SmbComTreeConnectAndX tcax) {
                        if (this.netbiosName != null && tcax.getPath().endsWith("\\IPC$")) {
                            /*
                             * Some pipes may require that the hostname in the tree connect
                             * be the netbios name. So if we have the netbios server name
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

         * @param accessResultData the access result data containing serialized data
         * @return the deserialized object
         */
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            final byte[] data = accessResultData.getData();
            if (data != null) {
                try {
                    return dataSerializer.fromBinaryToObject(data);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
Back to Top