Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 258 for toFile (0.04 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                    && artifact.getPath() != null) {
                Path artifactPath = artifact.getPath();
                if (Files.isRegularFile(artifactPath)) {
                    try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) {
                        ZipEntry pluginDescriptorEntry = artifactJar.getEntry(PLUGIN_DESCRIPTOR_LOCATION);
    
                        if (pluginDescriptorEntry != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                if (varPath != null) {
                    baseDir = new File(varPath, THUMBNAILS_DIR_NAME);
                } else {
                    baseDir = ResourceUtil.getThumbnailPath().toFile();
                }
            }
            if (baseDir.mkdirs()) {
                logger.info("Created: {}", baseDir.getAbsolutePath());
            }
            if (!baseDir.isDirectory()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         *
         * @return The underlying file, never {@code null}.
         * @deprecated Use {@link #getPath()} instead.
         */
        @Deprecated
        public File getFile() {
            return path.toFile();
        }
    
        /**
         * Gets the file of this source.
         *
         * @return The underlying file, never {@code null}.
         * @since 4.0.0
         */
        public Path getPath() {
            return path;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java

                        Path base = basedir != null ? basedir.toPath() : null;
                        Path root = rootLocator.findMandatoryRoot(base);
                        return root.toFile().getAbsolutePath();
                    }
                    return null;
                }
            });
    
            interpolator.addValueSource(new MapBasedValueSource(context.getProjectProperties()));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            0 * action._
        }
    
        def canPersistMetaData() {
            TestDomainObject value = new TestDomainObject('a')
            File file = Files.createTempFile(tmpDir.toPath(), null, null).toFile()
            repository.put('class', value)
    
            when:
            repository.store(file)
            def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>()
            newRepo.load(file)
    
            then:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        }
    
        private boolean isPackagedArtifactUpToDate(MavenProject project, File packagedArtifactFile) {
            Path outputDirectory = Paths.get(project.getBuild().getOutputDirectory());
            if (!outputDirectory.toFile().exists()) {
                return true;
            }
    
            try (Stream<Path> outputFiles = Files.walk(outputDirectory)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                    }
    
                    final Path path = env.configFile().resolve(filePath);
    
                    try {
                        final File file = path.toFile();
                        if (file.exists()) {
                            reloadableFile = file;
                        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                        .flatMap(this::getProjectArtifacts)
                        .filter(a -> Objects.equals(id, id(a)))
                        .forEach(a -> a.setFile(path != null ? path.toFile() : null));
            }
            if (path == null) {
                paths.remove(id);
            } else {
                paths.put(id, path);
            }
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

            }
            outputs.file(artifact)
        }
    
        private
        fun minify(artifact: File, keepClasses: Set<String>, jarFile: File): File {
            val tempDirectory = java.nio.file.Files.createTempDirectory(jarFile.name).toFile()
            val classesDir = tempDirectory.resolve("classes")
            val manifestFile = tempDirectory.resolve("MANIFEST.MF")
            val buildReceiptFile = tempDirectory.resolve("build-receipt.properties")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

    /**
     * @author wyukawa
     *
     */
    public class PropertiesUtilTest {
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        /**
         *
         */
        @Rule
        public TemporaryFolder tempFolder = new TemporaryFolder();
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top