Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for isfile (0.18 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  2. 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 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. 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 May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  6. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

       *
       * <p><b>Warning:</b> If {@code to} represents an existing file, that file will be overwritten
       * with the contents of {@code from}. If {@code to} and {@code from} refer to the <i>same</i>
       * file, the contents of that file will be deleted.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#copy(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption...)}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

            super.processWebInfLib();
    
            final WebResource[] possibleJars = listResources("/WEB-INF/plugin", false);
    
            for (final WebResource possibleJar : possibleJars) {
                if (possibleJar.isFile() && possibleJar.getName().endsWith(".jar")) {
                    try (final JarFile jarFile = new JarFile(possibleJar.getCanonicalPath())) {
                        final Manifest manifest = jarFile.getManifest();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                            e);
                }
    
                if (file.isFile()) {
                    try {
                        fixTimestamp(file, readMetadata(file), ((RepositoryMetadata) metadata).getMetadata());
                    } catch (RepositoryMetadataReadException e) {
                        // will be reported via storeInlocalRepository
                    }
                }
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
Back to top