- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for readAllLines (0.09 seconds)
-
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 memoryCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
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) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java
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) -
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) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ConcatFilesTask.java
} // To remove duplicate lines LinkedHashSet<String> uniqueLines = new LinkedHashSet<>(); for (File f : getFiles()) { uniqueLines.addAll(Files.readAllLines(f.toPath(), StandardCharsets.UTF_8)); } Files.write(getTarget().toPath(), uniqueLines, StandardCharsets.UTF_8, StandardOpenOption.APPEND); for (String additionalLine : additionalLines) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.8K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
} private static String readWrapperVersion() throws IOException { Path props = Paths.get("gradle/wrapper/gradle-wrapper.properties"); List<String> lines = Files.readAllLines(props, StandardCharsets.UTF_8); String distributionUrl = lines.stream() .map(String::trim) .filter(l -> !l.isEmpty() && !l.startsWith("#"))Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
.teamcity/scripts/CheckRemoteProjectRef.java
} } 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(); if (trimmed.isEmpty() || trimmed.startsWith("#") || trimmed.startsWith("!")) { continue;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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java
// The regex `^\\s*\\[\\[(.*)\\]\\]` looks for lines starting with '[[...]]' // and captures the content within the brackets. Files.readAllLines(file).forEach(line -> { if (line.matches("^\\s*\\[\\[(.*)\\]\\].*")) { String anchorName = line.replaceAll("^\\s*\\[\\[(.*)\\]\\].*$", "$1");
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Aug 21 15:38:58 GMT 2025 - 8.5K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/JvmConfigParser.java
*/ static String parseJvmConfig(Path jvmConfigPath, String mavenProjectBasedir) throws IOException { StringBuilder result = new StringBuilder(); for (String line : Files.readAllLines(jvmConfigPath, StandardCharsets.UTF_8)) { line = processLine(line, mavenProjectBasedir); if (line.isEmpty()) { continue; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 6.4K bytes - Click Count (0)