Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for getPath (0.06 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

                    .build());
        Files.createDirectories(fs.getPath("dir/b/i/j/l"));
        Files.createFile(fs.getPath("dir/a"));
        Files.createFile(fs.getPath("dir/c"));
        Files.createSymbolicLink(fs.getPath("dir/d"), fs.getPath("b/i"));
        Files.createDirectory(fs.getPath("dir/e"));
        Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete"));
        Files.createFile(fs.getPath("dir/b/g"));
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 27.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPath("WEB-INF/", "view", names);
        }
    
        public static Path getDictionaryPath(final String... names) {
            return getPath("WEB-INF/", "dict", names);
        }
    
        public static Path getThumbnailPath(final String... names) {
            return getPath("WEB-INF/", "thumbnails", names);
        }
    
        public static Path getSitePath(final String... names) {
            return getPath("WEB-INF/", "site", names);
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-03-15 06:53
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                        throw new DictionaryException("Failed to update " + dictFile.getPath());
                    }
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to update " + dictFile.getPath(), e);
                }
    
            }).orElse(() -> {
                throw new DictionaryException(dictFile.getPath() + " does not exist.");
            });
        }
    
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-03-15 06:53
    - 5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/FileUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReadUTF8() throws Exception {
            assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ"));
        }
    
        private String getPath(final String fileName) {
            return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName);
        }
    
    Registered: 2025-05-24 08:58
    - Last Modified: 2025-05-10 01:32
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getPath()) && StringUtil.isEmpty(pi.getName())) {
                return StringUtil.EMPTY;
            }
            if (StringUtil.isEmpty(pi.getPath())) {
                return pi.getName();
            }
            return pi.getPath() + "/" + pi.getName();
        }
    
        public static PathInfo convertToItem(final String id) {
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-03-15 06:53
    - 19.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

                this.path = requireNonNull(path, "path").normalize();
                this.location = location != null ? location : this.path.toString();
            }
    
            @Override
            @Nullable
            public Path getPath() {
                return path;
            }
    
            @Override
            @Nonnull
            public InputStream openStream() throws IOException {
                return Files.newInputStream(path);
            }
    
    Registered: 2025-05-24 08:56
    - Last Modified: 2025-02-07 00:45
    - 8K bytes
    - Viewed (0)
  7. mockwebserver/README.md

      assertEquals("/v1/chat/messages/", request1.getPath());
      assertNotNull(request1.getHeader("Authorization"));
    
      RecordedRequest request2 = server.takeRequest();
      assertEquals("/v1/chat/messages/2", request2.getPath());
    
      RecordedRequest request3 = server.takeRequest();
      assertEquals("/v1/chat/messages/3", request3.getPath());
    
      // Shut down the server. Instances cannot be reused.
      server.shutdown();
    Registered: 2025-05-30 11:42
    - Last Modified: 2023-12-17 15:34
    - 5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

            System.out.println("serving docs at http://localhost:" + getPort().get());
            DeploymentRegistry registry = getDeploymentRegistry();
            JavaApplicationHandle handle = registry.get(getPath(), JavaApplicationHandle.class);
            if (handle == null) {
                JavaExecHandleBuilder builder = getExecActionFactory().newJavaExec();
    Registered: 2025-05-28 11:36
    - Last Modified: 2024-04-18 12:38
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                return str.substring(0, i + 1);
            }
    
            return "smb://";
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getPath()
         */
    
        @Override
        public String getPath () {
            return this.url.toString();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getCanonicalURL()
         */
    Registered: 2025-05-25 00:10
    - Last Modified: 2025-01-26 07:34
    - 24.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            }
            DfsReferralData other = (DfsReferralData) obj;
    
            return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare())
                    && Objects.equals(getPath(), other.getPath()) && Objects.equals(getPathConsumed(), other.getPathConsumed());
        }
    
    
        /**
         * @param ref
         * @param reqPath
         * @param expire
         * @param consumed
    Registered: 2025-05-25 00:10
    - Last Modified: 2021-11-13 15:13
    - 11K bytes
    - Viewed (0)
Back to top