Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 70 for toFiles (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

        @Override
        public synchronized File getFile() {
            try {
                String state = mayUpdate();
                if (state == null) {
                    return null;
                }
                return target.toFile();
            } catch (IOException | NoSuchAlgorithmException | XMLStreamException | ModelBuildingException e) {
                throw new TransformationFailedException(e);
            }
        }
    
        private String mayUpdate()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPluginJarFiles((file, name) -> name.startsWith(namePrefix));
        }
    
        public static File[] getPluginJarFiles(final FilenameFilter filter) {
            final File libDir = getPluginPath().toFile();
            if (!libDir.exists()) {
                return new File[0];
            }
            return libDir.listFiles(filter);
        }
    
        public static String resolve(final String value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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