/libcore/harmony-tests/src/test/java/org/apache/harmony/luni/tests/java/util/ |
ScannerParseLargeFileBenchmarkTest.java | 19 import java.io.Reader; 31 MyReader reader = new MyReader(); local 33 Scanner scanner = new Scanner(reader).useDelimiter(delimiter); 39 reader.close(); 42 private static class MyReader extends Reader {
|
/libcore/luni/src/main/java/java/io/ |
LineNumberReader.java | 21 * Wraps an existing {@link Reader} and counts the line terminators encountered 37 * Constructs a new LineNumberReader on the Reader {@code in}. The internal 41 * the Reader that is buffered. 43 public LineNumberReader(Reader in) { 48 * Constructs a new LineNumberReader on the Reader {@code in}. The size of 52 * the Reader that is buffered. 58 public LineNumberReader(Reader in, int size) { 63 * Returns the current line number for this reader. Numbering starts at 0. 74 * Sets a mark position in this reader. The parameter {@code readlimit} 76 * Sending {@code reset()} will reposition this reader back to the marke [all...] |
/libcore/luni/src/main/java/java/sql/ |
SQLInput.java | 21 import java.io.Reader; 33 * directly. Reader methods such as {@code readLong} and {@code readBytes} 41 * {@code SQLData.readSQL} method which then calls the {@code SQLInput} reader 189 * character stream embodied as a {@code java.io.Reader}. 191 * @return the next attribute as a {@code java.io.Reader}. {@code null} if 195 * @see java.io.Reader 197 public Reader readCharacterStream() throws SQLException;
|
SQLOutput.java | 21 import java.io.Reader; 181 * java.io.Reader} object. 185 public void writeCharacterStream(Reader theStream) throws SQLException;
|
/libcore/luni/src/main/java/java/util/ |
PropertyResourceBundle.java | 22 import java.io.Reader; 56 * Constructs a new resource bundle with properties read from {@code reader}. 58 * @param reader the {@code Reader} 62 public PropertyResourceBundle(Reader reader) throws IOException { 64 resources.load(reader);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
LineIterator.java | 21 import java.io.Reader;
26 * An Iterator over the lines in a <code>Reader</code>.
28 * <code>LineIterator</code> holds a reference to an open <code>Reader</code>.
29 * When you have finished with the iterator you should close the reader
30 * to free internal resources. This can be done by closing the reader directly,
55 /** The reader that is being read. */
63 * Constructs an iterator of the lines for a <code>Reader</code>.
65 * @param reader the <code>Reader</code> to read from, not null
66 * @throws IllegalArgumentException if the reader is null [all...] |
CopyUtils.java | 25 import java.io.Reader;
31 * copying between sources (<code>InputStream</code>, <code>Reader</code>,
85 * 2 copy Reader Writer (primitive)
89 * 4 copy Reader OutputStream 2
207 // Reader -> Writer
211 * Copy chars from a <code>Reader</code> to a <code>Writer</code>.
212 * @param input the <code>Reader</code> to read from
218 Reader input,
272 // Reader -> OutputStream
276 * Serialize chars from a <code>Reader</code> to bytes on an [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
CharSequenceReader.java | 19 import java.io.Reader;
23 * {@link Reader} implementation that can read from String, StringBuffer,
31 public class CharSequenceReader extends Reader implements Serializable {
119 * Reset the reader to the last marked position (or the beginning if
|
NullReader.java | 21 import java.io.Reader;
24 * A functional, light weight {@link Reader} that emulates
25 * a reader of a specified size.
28 * object for testing with an {@link Reader}
32 * large {@link Reader} as it can emulate that
63 public class NullReader extends Reader {
74 * Create a {@link Reader} that emulates a specified size
77 * @param size The size of the reader to emulate.
84 * Create a {@link Reader} that emulates a specified
87 * @param size The size of the reader to emulate. [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
ResourceLoaderAdaptor.java | 30 import java.io.Reader; 51 public Reader open(String name) throws IOException { 67 public Reader openOrFail(String name) throws JSilverTemplateNotFoundException, IOException { 68 Reader reader = open(name); local 69 if (reader == null) { 91 return reader; 165 public void close(Reader reader) throws IOException { 166 reader.close() [all...] |
/external/marisa-trie/lib/marisa/ |
intvector.cc | 68 Reader reader; local 69 reader.open(filename, offset, whence); 70 read(reader); 74 Reader reader(file); 75 read(reader); 79 Reader reader(fd); 80 read(reader); [all...] |
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
intvector.cc | 68 Reader reader; local 69 reader.open(filename, offset, whence); 70 read(reader); 74 Reader reader(file); 75 read(reader); 79 Reader reader(fd); 80 read(reader); [all...] |
/cts/tools/dasm/src/dasm/ |
Scanner.java | 24 import java.io.Reader; 76 protected Reader inputReader; 106 public Scanner(Reader i) throws IOException, DasmError {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ConsoleTest.java | 28 import java.io.Reader; 85 Reader reader1 = console.reader(); 87 Reader reader2 = console.reader();
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_StringReader.java | 21 import java.io.Reader; 23 public class Support_StringReader extends Reader { 34 * the reader is set to the <code>length()</code> of the String and the 69 * Set a Mark position in this Reader. The parameter <code>readLimit</code> 70 * is ignored for StringReaders. Sending reset() will reposition the reader 109 * an int. The 2 higher-order bytes are set to 0. If the end of reader was 112 * @return the character read or -1 if end of reader. 134 * if the end of reader was encountered. 142 * @return the number of characters read or -1 if end of reader. 174 * the result is <code>false</code> this Reader may or may not block whe [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/blockparser/ |
BlockLanguageParser.java | 6 import java.io.Reader; 12 private Reader reader; field in class:BlockLanguageParser 43 reader = new InputStreamReader(in); 50 int ci = reader.read();
|
/external/proguard/src/proguard/io/ |
ManifestRewriter.java | 48 protected void copyData(Reader reader, 52 super.copyData(new SplitLineReader(reader), 58 * This Reader reads manifest files, joining any split lines. 67 public SplitLineReader(Reader reader) 69 super(reader); 73 // Implementations for Reader. 175 // Implementations for Reader.
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
PYXScanner.java | 45 public void scan(Reader r, ScanHandler h) throws IOException, SAXException { 120 Reader r = new InputStreamReader(System.in, "UTF-8");
|
/frameworks/av/services/medialog/ |
MediaLogService.cpp | 36 sp<NBLog::Reader> reader(new NBLog::Reader(size, shared)); 37 NamedReader namedReader(reader, name); 49 if (mNamedReaders[i].reader()->isIMemory(shared)) { 81 namedReader.reader()->dump(fd, 0 /*indent*/);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFilterReaderTest.java | 31 public MyFilterReader(java.io.Reader reader) { 32 super(reader); 36 class MockReader extends java.io.Reader {
|
/libcore/support/src/test/java/tests/support/ |
Support_StringReader.java | 21 import java.io.Reader; 23 public class Support_StringReader extends Reader { 34 * the reader is set to the <code>length()</code> of the String and the 69 * Set a Mark position in this Reader. The parameter <code>readLimit</code> 70 * is ignored for StringReaders. Sending reset() will reposition the reader 109 * an int. The 2 higher-order bytes are set to 0. If the end of reader was 112 * @return the character read or -1 if end of reader. 134 * if the end of reader was encountered. 142 * @return the number of characters read or -1 if end of reader. 174 * the result is <code>false</code> this Reader may or may not block whe [all...] |
/libcore/xml/src/main/java/org/xmlpull/v1/ |
XmlPullParser.java | 8 import java.io.Reader; 460 * Set the input source for parser to the given reader and 463 * Setting the reader to null will just stop parsing and 468 void setInput(Reader in) throws XmlPullParserException; 500 * If setInput(Reader) was called, null is returned. [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
MemoryTextBody.java | 28 import java.io.Reader;
73 public Reader getReader() throws UnsupportedEncodingException, IOException {
|
TempFileTextBody.java | 26 import java.io.Reader;
72 public Reader getReader() throws UnsupportedEncodingException, IOException {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
StringEvaluator.java | 31 import java.io.Reader; 94 public Reader getReader(Object templateSource, String encoding) throws IOException {
|