Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 839 for Path (0.17 sec)

  1. src/main/java/org/codelibs/core/io/ResourceUtil.java

            assertArgumentNotEmpty("path", path);
    
            return getResourceNoException(path) != null;
        }
    
        /**
         * コンテキストクラスローダからプロパティファイルをロードして返します。
         *
         * @param path
         *            プロパティファイルのパス。{@literal null}や空文字列であってはいけません
         * @return プロパティファイル
         */
        public static Properties getProperties(final String path) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

        }
    
        /**
         * Adds the given path element to the specified type of path.
         *
         * @param type the type of path (class-path, module-path, …)
         * @param path the path element to add
         */
        private void addPathElement(PathType type, Path path) {
            dispatchedPaths.computeIfAbsent(type, (t) -> new ArrayList<>()).add(path);
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                            final Path path = ResourceUtil.getViewTemplatePath(names);
                            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);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  4. maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
         * @param path The file, must not be {@code null}.
         * @since 4.0.0
         */
        public FileSource(Path path) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path path = tempDir.resolve("parent/nonexistent.file");
        Path parent = path.getParent();
        assertFalse(Files.exists(parent));
        MoreFiles.createParentDirectories(path);
        assertTrue(Files.exists(parent));
      }
    
      public void testCreateParentDirectories_multipleParentsNeeded() throws IOException {
        Path path = tempDir.resolve("grandparent/parent/nonexistent.file");
        Path parent = path.getParent();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

        public String unalignFromBaseDirectory(String path, File basedir) {
            if (basedir == null) {
                return path;
            }
    
            if (path == null) {
                return null;
            }
    
            path = path.trim();
    
            String base = basedir.getAbsolutePath();
            if (path.startsWith(base)) {
                path = chopLeadingFileSeparator(path.substring(base.length()));
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                        }
                        return false;
                    }
                    if (logger.isDebugEnabled()) {
                        logger.debug("Path {} matches the include path expression {} on {} of label.", path, excludedPaths, value);
                    }
                    return true;
                }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.7K bytes
    - Viewed (2)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         */
        @Nonnull
        Map<PathType, List<Path>> getDispatchedPaths();
    
        @Nonnull
        Map<Dependency, Path> getDependencies();
    
        /**
         * Formats the command-line option for the path of the specified type.
         * The option are documented in {@link org.apache.maven.api.JavaPathType} enumeration values.
         *
         * @param type the desired type of path (class-path, module-path, …)
         * @return the option to pass to Java tools
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

            return new XmlWriterRequestBuilder<>();
        }
    
        class XmlWriterRequestBuilder<T> {
            Path path;
            OutputStream outputStream;
            Writer writer;
            T content;
    
            public XmlWriterRequestBuilder<T> path(Path path) {
                this.path = path;
                return this;
            }
    
            public XmlWriterRequestBuilder<T> outputStream(OutputStream outputStream) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java

        Path fileA = newFile("file-a");
        Path fileB = newFile("file-b");
        Path dir1 = newDir("dir-1");
        Path dir2 = newDir("dir-2");
    
        assertThat(MoreFiles.fileTraverser().breadthFirst(rootDir))
            .containsExactly(rootDir, fileA, fileB, dir1, dir2);
      }
    
      public void testFileTraverser_multipleDirectoryLayers_breadthFirstStartsWithTopLayer()
          throws Exception {
        Path fileA = newFile("file-a");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 09 19:30:52 GMT 2018
    - 3.8K bytes
    - Viewed (0)
Back to top