Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 9,781 for file (0.02 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java

        @Test
        void testDependencyManagementDoesNotOverrideScopeOfCurrentArtifact() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            // load the child project, which inherits from p0...
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

            }
    
            ActivationFile file = activation.getFile();
    
            if (file == null) {
                return false;
            }
    
            String path;
            boolean missing;
    
            if (StringUtils.isNotEmpty(file.getExists())) {
                path = file.getExists();
                missing = false;
            } else if (StringUtils.isNotEmpty(file.getMissing())) {
                path = file.getMissing();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

    import javax.inject.Inject;
    import java.io.File;
    import java.io.IOException;
    import java.lang.annotation.Annotation;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.nio.file.FileVisitResult;
    import java.nio.file.FileVisitor;
    import java.nio.file.Files;
    import java.nio.file.Path;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    }
                }
    
                @Override
                public void store(org.codelibs.fess.dict.DictionaryFile<?> file, File tempFile) {
                    // Copy tempFile to testFile
                    try {
                        java.nio.file.Files.copy(tempFile.toPath(), testFile.toPath(), java.nio.file.StandardCopyOption.REPLACE_EXISTING);
                    } catch (IOException e) {
                        throw new RuntimeException(e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java

        private SettingsResourceLoader() {
            // Utility class
        }
    
        /**
         * Loads a JSON resource file from the classpath.
         *
         * @param resourcePath The path to the resource file (e.g., "suggest_indices/suggest.json")
         * @return The content of the resource file as a string
         * @throws IOException If an I/O error occurs or the resource is not found
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/io/CopyUtil.java

        // from File to File
        //
        /**
         * Copies from a file to a file.
         *
         * @param in the input file (must not be {@literal null})
         * @param out the output file (must not be {@literal null})
         * @return the number of bytes copied
         */
        public static int copy(final File in, final File out) {
            assertArgumentNotNull("in", in);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                }
    
                ArtifactRepository remoteRepo = request.getRemoteRepositories().get(0);
    
                File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact));
    
                Files.createDirectories(localFile.toPath().getParent());
                Files.copy(remoteFile.toPath(), localFile.toPath());
            }
    
            artifact.setResolved(true);
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

        private final Path path;
    
        protected final Date timestamp;
    
        private boolean merged;
    
        @Deprecated
        protected MavenMetadata(Metadata metadata, File file, Date timestamp) {
            this(metadata, file != null ? file.toPath() : null, timestamp);
        }
    
        protected MavenMetadata(Metadata metadata, Path path, Date timestamp) {
            this.metadata = metadata;
            this.path = path;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/io/PropertiesUtil.java

        /**
         * Loads the specified file into the {@link Properties} using the platform default encoding (wraps exception handling).
         *
         * @param props
         *            Property set. Must not be {@literal null}.
         * @param file
         *            File. Must not be {@literal null}.
         */
        public static void load(final Properties props, final File file) {
            load(props, file, Charset.defaultCharset().name());
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

        public SmbComWrite(final Configuration config) {
            super(config, SMB_COM_WRITE);
        }
    
        /**
         * Constructs a write request to write data to a file.
         *
         * @param config the configuration to use
         * @param fid the file identifier
         * @param offset the file offset at which to write
         * @param remaining the number of bytes remaining to be written
         * @param b the data buffer containing bytes to write
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top