Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for getParent (0.04 sec)

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

          assertNull(root.getParent());
          assertNull(root.toRealPath().getParent());
          MoreFiles.createParentDirectories(root); // test that there's no exception
        }
      }
    
      public void testCreateParentDirectories_relativePath() throws IOException {
        Path path = FS.getPath("nonexistent.file");
        assertNull(path.getParent());
        assertNotNull(path.toAbsolutePath().getParent());
    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/helper/ThemeHelper.java

                            Files.createDirectories(path.getParent());
                            Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING);
                        } else if ("css".equals(names[0])) {
                            names[0] = themeName;
                            final Path path = ResourceUtil.getCssPath(names);
                            Files.createDirectories(path.getParent());
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-03-15 06:53
    - 5.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            assertEquals("123.123.123.123:9999", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(9999, ftpInfo.getPort());
            assertEquals("/", ftpInfo.getParent());
            assertNull(ftpInfo.getName());
    
            value = "ftp://123.123.123.123/test.txt";
            ftpInfo = new FtpClient.FtpInfo(value, Constants.UTF_8);
            assertEquals(value, ftpInfo.toUrl());
    Registered: 2025-05-25 03:50
    - Last Modified: 2025-03-15 06:52
    - 18K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

     *
     * The wrapper maintains its own parameter map which can be initialized separately from the wrapped factory,
     * and provides access to the wrapped factory instance through getParent().
     *
     * All crawler client management operations (adding, getting clients, setting client map) are delegated
     * to the wrapped factory instance.
     *
    Registered: 2025-05-25 03:50
    - Last Modified: 2025-03-15 06:52
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

        }
    
        protected static Map<String, Object> getDataMap(final Map<String, Object> params) {
            if (params instanceof final ParamMap<String, Object> paramMap) {
                return paramMap.getParent();
            }
            return params;
        }
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-03-15 06:53
    - 2.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                client.changeWorkingDirectory(ftpInfo.getParent());
                validateRequest(client);
    
                if (ftpInfo.getName() == null) {
                    // root directory
                    final Set<RequestData> requestDataSet = new HashSet<>();
                    if (includeContent) {
                        try {
                            final FTPFile[] files = client.listFiles(ftpInfo.getParent(), FTPFileFilters.NON_NULL);
    Registered: 2025-05-25 03:50
    - Last Modified: 2025-05-24 06:10
    - 30.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

            public ModelSource resolve(@Nonnull ModelLocator locator, @Nonnull String relative) {
                String norm = relative.replace('\\', File.separatorChar).replace('/', File.separatorChar);
                Path path = getPath().getParent().resolve(norm);
                Path relatedPom = locator.locateExistingPom(path);
                if (relatedPom != null) {
                    return new BuildPathSource(relatedPom);
                }
                return null;
    Registered: 2025-05-24 08:56
    - Last Modified: 2025-02-07 00:45
    - 8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

        @Override
        public ClassLoader next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final ClassLoader result = classLoader;
            classLoader = classLoader.getParent();
            return result;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Registered: 2025-05-24 08:58
    - Last Modified: 2025-05-10 01:32
    - 2.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

      }
    
      private WeakReference<ClassLoader> useFrqInSeparateLoader() throws Exception {
        ClassLoader myLoader = getClass().getClassLoader();
        URLClassLoader sepLoader = new URLClassLoader(getClassPathUrls(), myLoader.getParent());
        // sepLoader is the loader that we will use to load the parallel FinalizableReferenceQueue (FRQ)
        // and friends, and that we will eventually expect to see garbage-collected. The assumption
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Delete {}", path);
                    }
    
                    Path parent = path.getParent();
                    while (deleteEmptyDirectory(parent)) {
                        parent = parent.getParent();
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to delete {}", path, e);
                }
            }
    
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-03-15 06:53
    - 21.5K bytes
    - Viewed (0)
Back to top