Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for readAllLines (0.06 seconds)

  1. android/guava/src/com/google/common/io/CharStreams.java

       * BufferedReader#lines()}.
       *
       * <p><b>Java 25+ users:</b> If the input is a {@link Reader}, you may prefer {@link
       * Reader#readAllLines()}. The two may have different performance characteristics for different
       * {@link Reader} classes and Java versions, but both methods read the entire input into memory
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

                        final List<String> actualLines;
                        try {
                            actualLines = Files.readAllLines(noticePath);
                            for (final String expectedLine : expectedLines) {
                                if (actualLines.contains(expectedLine) == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java

            if (Files.exists(osRelease)) {
                Map<String, String> values;
    
                try {
                    final List<String> osReleaseLines = Files.readAllLines(osRelease);
                    values = parseOsRelease(osReleaseLines);
                } catch (IOException e) {
                    throw new GradleException("Failed to read /etc/os-release", e);
                }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 14.8K bytes
    - Click Count (0)
  5. 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
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
Back to Top