Home
last modified time | relevance | path

Searched refs:readFirstLine (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DCharSourceTester.java131 assertNull(source.readFirstLine()); in testReadFirstLine()
133 assertEquals(expectedLines.get(0), source.readFirstLine()); in testReadFirstLine()
DCharSourceTest.java113 assertEquals("foo", lines.readFirstLine()); in testReadFirstLine()
DFilesTest.java532 assertNull(Files.readFirstLine(temp, Charsets.UTF_8)); in testLineReading()
542 assertEquals("hello", Files.readFirstLine(temp, Charsets.UTF_8)); in testLineReading()
/external/guava/guava/src/com/google/common/io/
DCharSource.java180 public @Nullable String readFirstLine() throws IOException { in readFirstLine() method in CharSource
395 public String readFirstLine() {
DCharStreams.java257 public static <R extends Readable & Closeable> String readFirstLine( in readFirstLine() method in CharStreams
259 return asCharSource(supplier).readFirstLine(); in readFirstLine()
DFiles.java689 public static String readFirstLine(File file, Charset charset) in readFirstLine() method in Files
691 return asCharSource(file, charset).readFirstLine(); in readFirstLine()