Home
last modified time | relevance | path

Searched refs:FileReader (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DFileReader.java45 public class FileReader extends InputStreamReader { class
57 public FileReader(String fileName) throws FileNotFoundException { in FileReader() method in FileReader
71 public FileReader(File file) throws FileNotFoundException { in FileReader() method in FileReader
81 public FileReader(FileDescriptor fd) { in FileReader() method in FileReader
/libcore/luni/src/test/java/libcore/java/io/
DOldFileReaderTest.java22 import java.io.FileReader;
26 FileReader br;
31 br = new FileReader(noFile); in test_ConstructorLjava_io_File()
40 br = new FileReader(System.getProperty("java.io.tmpdir") + "/noreader.tst"); in test_ConstructorLjava_lang_String()
DOldFileWriterTest.java23 import java.io.FileReader;
134 FileReader reader = new FileReader(f); in test_handleEarlyEOFChar_2()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileWriterTest.java25 import java.io.FileReader;
48 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_io_File()
71 FileReader fileReader = new FileReader(f); in test_ConstructorLjava_io_FileZ()
87 fileReader = new FileReader(f); in test_ConstructorLjava_io_FileZ()
102 br = new BufferedReader(new FileReader(fis.getFD())); in test_ConstructorLjava_io_FileDescriptor()
121 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_lang_String()
139 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_lang_StringZ()
152 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_lang_StringZ()
DFileReaderTest.java23 import java.io.FileReader;
31 FileReader br;
46 br = new FileReader(f); in test_ConstructorLjava_io_File()
62 br = new FileReader(fis.getFD()); in test_ConstructorLjava_io_FileDescriptor()
78 br = new FileReader(f.getPath()); in test_ConstructorLjava_lang_String()
DWriterTesterTest.java29 import java.io.FileReader;
88 return Streams.streamToString(new FileReader(file)).toCharArray(); in getChars()
DOutputStreamWriterTest.java25 import java.io.FileReader;
439 FileReader reader = new FileReader(f); in testHandleEarlyEOFChar_2()
/libcore/luni/src/main/java/libcore/io/
DIoUtils.java107 return new FileReader(absolutePath).readFully().toByteArray(); in readFileAsByteArray()
114 return new FileReader(absolutePath).readFully().toString(StandardCharsets.UTF_8); in readFileAsString()
192 private static class FileReader { class in IoUtils
199 public FileReader(String absolutePath) throws IOException { in FileReader() method in IoUtils.FileReader
230 public FileReader readFully() throws IOException { in readFully()
/libcore/support/src/test/java/libcore/java/security/
DCpuFeatures.java20 import java.io.FileReader;
62 BufferedReader br = new BufferedReader(new FileReader("/proc/cpuinfo")); in getFieldFromCpuinfo()
/libcore/ojluni/src/main/java/sun/misc/
DMetaIndex.java29 import java.io.FileReader;
166 BufferedReader reader = new BufferedReader(new FileReader(indexFile)); in registerDirectory()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldFileHandlerTest.java24 import java.io.FileReader;
373 reader = new BufferedReader(new FileReader(homepath + SEP in assertFileContent()
/libcore/
Dopenjdk_java_files.mk38 ojluni/src/main/java/java/io/FileReader.java \