Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 9,781 for file (0.07 seconds)

  1. .teamcity/scripts/CheckRemoteProjectRef.java

                    }
                }
                System.exit(1);
            }
        }
    
        private static Map<String, String> readProperties(Path file) throws IOException {
            Map<String, String> out = new LinkedHashMap<>();
            List<String> lines = Files.readAllLines(file, StandardCharsets.UTF_8);
            for (String line : lines) {
                String trimmed = line.trim();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

                path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/LmhostsTest.java

            // Create a temporary lmhosts file
            File lmhostsFile = tempDir.resolve("lmhosts").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.100 TESTHOST\n");
            }
    
            when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
    
            // First call should read the file
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  4. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesInfoTask.java

        /**
         * Directory to read license files
         */
        @Optional
        @InputDirectory
        private File licensesDir = new File(getProject().getProjectDir(), "licenses").exists()
            ? new File(getProject().getProjectDir(), "licenses")
            : null;
    
        @OutputFile
        private File outputFile = new File(getProject().getBuildDir(), "reports/dependencies/dependencies.csv");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            }
        }
    
        /**
         * Returns the simple file name (without directory path) of this mapping file.
         *
         * @return the file name without the full path
         */
        public String getSimpleName() {
            return new File(path).getName();
        }
    
        /**
         * Updates the entire mapping file content from the provided input stream.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.DirectoryNotEmptyException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.nio.file.StandardCopyOption;
    import java.util.ArrayDeque;
    import java.util.Arrays;
    import java.util.Collection;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  8. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

        val entries =
          classpath
            .split(File.pathSeparator.toRegex())
            .dropLastWhile { it.isEmpty() }
            .toTypedArray()
        for (classPathEntry in entries) {
          deployFile(classPathEntry.toPath())
        }
      }
    
      private fun RepositoryPlugin.deployFile(file: Path) {
        if (fileSystem.metadataOrNull(file)?.isRegularFile != true) return
        try {
          fileSystem.read(file) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

         */
        public String getDefaultValue() {
            return defaultValue;
        }
    
        /**
         * Sets the default file type value to use when MIME type is not found.
         *
         * @param defaultValue the new default file type value
         */
        public void setDefaultValue(final String defaultValue) {
            this.defaultValue = defaultValue;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

            }
        }
    
        private fun subProjectFolderList(): List<File> {
            val subprojectRoots = File("../platforms").listFiles(File::isDirectory).plus(File("../subprojects"))
            val subProjectFolders =
                subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten().filter { dir ->
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 16 01:27:05 GMT 2025
    - 14.6K bytes
    - Click Count (0)
Back to Top