Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for readAllLines (0.21 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

        }
    
        @Test
        public void testPerf() throws IOException {
            List<String[]> data = new ArrayList<>();
            String k = null;
            for (String line : Files.readAllLines(Paths.get("src/test/resources/dag.txt"))) {
                if (line.startsWith("\t")) {
                    data.add(new String[] {k, line.trim()});
                } else {
                    k = line;
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

            }
        }
    
        private boolean fileContainsText(File referencedFile, String text) {
            try {
                for (String line : Files.readAllLines(referencedFile.toPath())) {
                    if (line.contains(text)) {
                        return true;
                    }
                }
            } catch (IOException e) {
                // ignore
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

       * Files.asCharSource(file, charset).readLines()}.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#readAllLines(java.nio.file.Path, Charset)}.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/Files.java

       * Files.asCharSource(file, charset).readLines()}.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#readAllLines(java.nio.file.Path, Charset)}.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top