Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 248 for isfile (0.2 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            try {
                final File outputFile = new File(baseDir, entity.getPath());
                final File noImageFile = new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX);
                if (!noImageFile.isFile() || systemHelper.getCurrentTimeAsLong() - noImageFile.lastModified() > noImageExpired) {
                    if (noImageFile.isFile() && !noImageFile.delete()) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

                        extensionMetaData = new gradlebuild.docs.dsl.docbook.model.ClassExtensionMetaData(className)
                    }
                    File classFile = getFileForClass(className)
                    if (!classFile.isFile()) {
                        throw new RuntimeException("Docbook source file not found for class '$className' in $classDocbookDir.")
                    }
                    XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/OsddHelper.java

                logger.info("OSDD file is not found.");
                return null;
            }
            final String path = LaServletContextUtil.getServletContext().getRealPath(osddPath);
            if (path == null) {
                logger.warn("{} was not found.", path);
                return null;
            }
            final File osddFile = new File(path);
            if (!osddFile.isFile()) {
                logger.warn("{} was not a file.", path);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            String path = getPathForLocalArtifact(request.getArtifact());
            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
                result.setAvailable(true);
            }
    
            return result;
        }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            String path = getPathForLocalArtifact(request.getArtifact());
            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
                result.setAvailable(true);
            }
    
            return result;
        }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/DynamicProperties.java

                }
                properties = new Properties();
                store();
            } else if (!this.propertiesFile.isFile()) {
                throw new FileAccessException("ECL0111", new Object[] { file.getAbsolutePath() });
            }
            load();
        }
    
        public synchronized void reload(final String path) {
            final File file = new File(path);
    Java
    - Registered: Fri Apr 19 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testCreateParentDirs_noParentsNeeded() throws IOException {
        File file = file(getTempDir(), "nonexistent.file");
        assertTrue(file.getParentFile().exists());
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_oneParentNeeded() throws IOException {
        File file = file(getTempDir(), "parent", "nonexistent.file");
        File parent = file.getParentFile();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

            // Zip all files in project build directory into a single zip file to avoid publishing too many tiny files
            reports.filter { it.isFile && it.toPath().startsWith(projectBuildDirPath) }
                .map { projectBuildDirPath.relativize(it.toPath()).toString() to it }
                .apply { zip(rootBuildDir.resolve("report$projectPathName.zip"), this) }
    
            reports.filter { it.isFile && !it.toPath().startsWith(projectBuildDirPath) }
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  9. apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java

        @Test
        void testValidGlobalSettings() throws Exception {
            String basedir = System.getProperty("basedir", System.getProperty("user.dir"));
    
            File globalSettingsFile = new File(basedir, "src/assembly/maven/conf/settings.xml");
            assertTrue(globalSettingsFile.isFile(), globalSettingsFile.getAbsolutePath());
    
            try (InputStream is = Files.newInputStream(globalSettingsFile.toPath())) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            String path = getPathForLocalArtifact(request.getArtifact());
            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
                result.setAvailable(true);
            }
    
            return result;
        }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top