HomeSort by relevance Sort by last modified time
    Searched refs:Reader (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /external/tagsoup/src/org/ccil/cowan/tagsoup/
AutoDetector.java 18 import java.io.Reader;
22 Classes which accept an InputStream and provide a Reader which figures
26 @see java.io.Reader
32 Given an InputStream, return a suitable Reader that understands
38 @return A Reader that reads from the InputStream
41 public Reader autoDetectingReader(InputStream i);
Scanner.java 19 import java.io.Reader;
34 public void scan(Reader r, ScanHandler h) throws IOException, SAXException;
  /packages/apps/Email/src/org/apache/james/mime4j/message/
TextBody.java 23 import java.io.Reader;
35 * Gets a <code>Reader</code> which may be used to read out the contents
38 * @return the <code>Reader</code>.
41 Reader getReader() throws IOException;
  /libcore/luni/src/main/java/org/xml/sax/
InputSource.java 9 import java.io.Reader;
58 * @see java.io.Reader
135 public InputSource (Reader characterStream)
304 * @see java.io.Reader
306 public void setCharacterStream (Reader characterStream)
318 public Reader getCharacterStream ()
334 private Reader characterStream;
  /libcore/luni/src/main/java/javax/xml/transform/stream/
StreamSource.java 24 import java.io.Reader;
31 * <p><em>Note:</em> Due to their internal use of either a {@link Reader} or {@link InputStream} instance,
50 * {@link #setReader(java.io.Reader reader)}, then the
61 * a stream should be used rather than a reader, so
77 * a stream should be used rather than a reader, so that
94 * Construct a StreamSource from a character reader. Normally,
95 * a stream should be used rather than a reader, so that
101 * @param reader A valid Reader reference to an XML character stream
271 private Reader reader; field in class:StreamSource
    [all...]
  /external/guava/src/com/google/common/io/
MultiReader.java 21 import java.io.Reader;
26 * A {@link Reader} that will concatenates multiple readers
31 class MultiReader extends Reader {
32 private final Iterator<? extends InputSupplier<? extends Reader>> it;
33 private Reader current;
35 MultiReader(Iterator<? extends InputSupplier<? extends Reader>> readers)
42 * Closes the current reader and opens the next one, if any.
LineReader.java 22 import java.io.Reader;
30 * objects, not just instances of {@link Reader}.
37 private final Reader reader; field in class:LineReader
55 this.reader = (readable instanceof Reader) ? (Reader) readable : null;
72 // The default implementation of Reader#read(CharBuffer) allocates a
73 // temporary char[], so we call Reader#read(char[], int, int) instead.
74 int read = (reader != null
    [all...]
  /libcore/luni/src/main/java/java/io/
FilterReader.java 21 * Wraps an existing {@link Reader} and performs some transformation on the
24 * decompression of the underlying reader. Readers that wrap another reader and
30 public abstract class FilterReader extends Reader {
33 * The target Reader which is being filtered.
35 protected Reader in;
38 * Constructs a new FilterReader on the Reader {@code in}.
41 * The non-null Reader to filter reads on.
43 protected FilterReader(Reader in) {
49 * Closes this reader. This implementation closes the filtered reader
    [all...]
Reader.java 24 * The base class for all readers. A reader is a means of reading data from a
39 public abstract class Reader implements Readable, Closeable {
41 * The object used to synchronize access to the reader.
46 * Constructs a new {@code Reader} with {@code this} as the object used to
49 protected Reader() {
55 * Constructs a new {@code Reader} with {@code lock} used to synchronize
63 protected Reader(Object lock) {
71 * Closes this reader. Implementations of this method should free any
72 * resources associated with the reader.
75 * if an error occurs while closing this reader
    [all...]
  /libcore/luni/src/main/java/java/sql/
Clob.java 22 import java.io.Reader;
48 * Gets the data of this {@code Clob} object in a {@code java.io.Reader}.
50 * @return a character stream Reader object giving access to the {@code
55 public Reader getCharacterStream() throws SQLException;
190 * Returns a {@link Reader} that reads {@code length} characters from this clob, starting
193 public Reader getCharacterStream(long pos, long length) throws SQLException;
PreparedStatement.java 21 import java.io.Reader;
272 * {@code Reader} object, with the specified length of character data.
275 * Reader} until end-of-file is reached or the specified number of
281 * @param reader
282 * the {@code java.io.Reader} containing the character data.
288 public void setCharacterStream(int parameterIndex, Reader reader, int length)
659 * @deprecated Use {@link #setCharacterStream(int, Reader, int)}
720 * from {@code reader}.
725 * @param reader the {@code Reader
    [all...]
ResultSet.java 21 import java.io.Reader;
480 * java.io.Reader} object.
484 * @return a {@code Reader} holding the value of the column. {@code null} if
488 * @see java.io.Reader
490 public Reader getCharacterStream(int columnIndex) throws SQLException;
494 * java.io.Reader} object.
498 * @return a {@code Reader} holding the value of the column. {@code null} if
503 public Reader getCharacterStream(String columnName) throws SQLException;
    [all...]
SQLXML.java 22 import java.io.Reader;
52 * Returns a reader that can be used to read character data from this SQL {@code XML} object.
55 Reader getCharacterStream() throws SQLException;
CallableStatement.java 21 import java.io.Reader;
    [all...]
  /libcore/luni/src/main/java/org/w3c/dom/ls/
LSInput.java 65 public java.io.Reader getCharacterStream();
73 public void setCharacterStream(java.io.Reader characterStream);
  /libcore/luni/src/main/java/javax/sql/
RowSet.java 21 import java.io.Reader;
107 * reader to fetch the data. When the new data is fetched all the listeners
630 * java.io.Reader}.
636 * the {@code Reader} which contains the Unicode data to set the
639 * the length of the data in the {@code Reader} in characters.
643 public void setCharacterStream(int parameterIndex, Reader theReader,
648 * sequence of Unicode characters carried by the supplied java.io.Reader.
654 * the Reader which contains the Unicode data to set into the
659 public void setCharacterStream(int parameterIndex, Reader theReader)
664 * sequence of Unicode characters carried by the supplied java.io.Reader
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_ASimpleReader.java 4 import java.io.Reader;
7 * An implementation of {@code Reader} that should serve as the
12 public class Support_ASimpleReader extends Reader {
ThrowingReader.java 22 import java.io.Reader;
25 * A reader that always throws after a predetermined number of bytes have been
33 public ThrowingReader(Reader in, int throwAt) {
  /packages/apps/Email/src/org/apache/commons/io/input/
ProxyReader.java 21 import java.io.Reader;
40 * @param proxy the Reader to delegate to
42 public ProxyReader(Reader proxy) {
  /frameworks/base/tests/CoreTests/android/core/
IOUtil.java 21 import java.io.Reader;
48 * reads characters from a reader and returns them as a string.
50 * @param a the reader.
54 public static String read(Reader a) throws IOException {
83 * reads a number of characters from a reader and returns them as a string.
85 * @param a the reader.
90 public static String read(Reader a, int x) throws IOException {
120 * reads every second characters from a reader and returns them as a string.
122 * @param a the reader.
126 public static String skipRead(Reader a) throws IOException
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/sql/tests/javax/sql/
Impl_RowSet.java 21 import java.io.Reader;
135 public void setCharacterStream(int parameterIndex, Reader theReader,
355 public Reader getCharacterStream(int columnIndex) throws SQLException {
359 public Reader getCharacterStream(String columnName) throws SQLException {
663 public void updateCharacterStream(int columnIndex, Reader x, int length)
667 public void updateCharacterStream(String columnName, Reader reader,
778 public Reader getNCharacterStream(int columnIndex) throws SQLException {
782 public Reader getNCharacterStream(String columnLabel) throws SQLException {
882 public void updateCharacterStream(int columnIndex, Reader x, long length
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
register.h 39 // This class holds the mapping from Fst name string to its reader
44 typedef Fst<A> *(*Reader)(istream &strm, const FstReadOptions &opts);
48 Reader reader; member in struct:fst::FstRegister::Entry
50 Entry() : reader(0), converter(0) {}
58 const Reader GetReader(const string &type) const {
59 return GetEntry(type).reader;
89 if (entry.reader)
133 typedef typename FstRegister<Arc>::Reader Reader;
    [all...]
  /development/tools/idegen/src/
Files.java 31 Reader in = new FileReader(file);
  /packages/apps/Email/src/org/apache/commons/io/
IOUtils.java 30 import java.io.Reader;
82 // NOTE: This class is focussed on InputStream, OutputStream, Reader and
132 * Unconditionally close an <code>Reader</code>.
134 * Equivalent to {@link Reader#close()}, except any exceptions will be ignored.
137 * @param input the Reader to close, may be null or already closed
139 public static void closeQuietly(Reader input) {
223 * Get the contents of a <code>Reader</code> as a <code>byte[]</code>
229 * @param input the <code>Reader</code> to read from
234 public static byte[] toByteArray(Reader input) throws IOException {
241 * Get the contents of a <code>Reader</code> as a <code>byte[]</code>
456 InputStreamReader reader = new InputStreamReader(input); local
481 InputStreamReader reader = new InputStreamReader(input, encoding); local
500 BufferedReader reader = new BufferedReader(input); local
575 Reader reader = null; local
    [all...]
  /cts/tools/vm-tests/src/util/build/
DFHBuildStep.java 26 import java.io.Reader;
45 Reader r;

Completed in 950 milliseconds

1 2 3 4 5 6