Searched defs:read (Results 1 - 9 of 9) sorted by relevance

/javamail/mail/src/main/java/com/sun/mail/util/
H A DQDecoderStream.java74 public int read() throws IOException { method in class:QDecoderStream
75 int c = in.read();
81 ba[0] = (byte)in.read();
82 ba[1] = (byte)in.read();
H A DQPDecoderStream.java48 * any input stream and read bytes from this filter. The decoding
49 * is done as the bytes are read out.
79 public int read() throws IOException { method in class:QPDecoderStream
86 int c = in.read();
90 while ((c = in.read()) == ' ')
106 int a = in.read();
114 return read();
117 int b = in.read();
123 return read();
129 ba[1] = (byte)in.read();
162 public int read(byte[] buf, int off, int len) throws IOException { method in class:QPDecoderStream
[all...]
H A DTraceInputStream.java48 * being read from the given input stream into the given output
103 * <code>-1</code> if no data is available. Writes out the read
106 public int read() throws IOException { method in class:TraceInputStream
107 int b = in.read();
120 * is available. Writes out the read bytes into the trace stream, if
123 public int read(byte b[], int off, int len) throws IOException { method in class:TraceInputStream
124 int count = in.read(b, off, len);
H A DUUDecoderStream.java48 * any input stream and read bytes from this filter. The decoding
49 * is done as the bytes are read out.
117 public int read() throws IOException { method in class:UUDecoderStream
127 public int read(byte[] buf, int off, int len) throws IOException { method in class:UUDecoderStream
130 if ((c = read()) == -1) {
187 // read till we get the prefix: "begin MODE FILENAME"
346 while ((c = decoder.read()) != -1)
H A DBASE64DecoderStream.java48 * any input stream and read bytes from this filter. The decoding
49 * is done as the bytes are read out.
108 public int read() throws IOException { method in class:BASE64DecoderStream
124 * @param buf the buffer into which the data is read.
126 * @param len the maximum number of bytes read.
127 * @return the total number of bytes read into the buffer, or
132 public int read(byte[] buf, int off, int len) throws IOException { method in class:BASE64DecoderStream
133 // empty out single byte read buffer
156 // finish up with a partial read if necessary
158 int c = read();
[all...]
/javamail/mail/src/test/java/com/sun/mail/test/
H A DAsciiStringInputStream.java70 public int read() { method in class:AsciiStringInputStream
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPInputStream.java59 private int blksize; // number of bytes to read in each FETCH request
68 private ByteArray readbuf; // reuse for each read
70 // Allocate this much extra space in the read buffer to allow
118 * data has already been read in, hence bufpos > bufcount.
122 * If we've read the last buffer, there's no more to read.
190 public synchronized int read() throws IOException { method in class:IMAPInputStream
203 * Returns the total number of bytes read into the buffer,
213 public synchronized int read(byte b[], int off, int len) method in class:IMAPInputStream
233 * Returns the total number of bytes read int
243 public int read(byte b[]) throws IOException { method in class:IMAPInputStream
[all...]
/javamail/mail/src/main/java/javax/mail/util/
H A DSharedFileInputStream.java80 * The normal size of the read buffer.
86 * the read buffer.
248 * This method also assumes that all data has already been read in,
281 int n = in.read(buf, pos, len);
288 * See the general contract of the <code>read</code>
295 public synchronized int read() throws IOException { method in class:SharedFileInputStream
319 return in.read(b, off, len);
337 * <code>{@link java.io.InputStream#read(byte[], int, int) read}</code>
342 * @param len maximum number of bytes to read
347 public synchronized int read(byte b[], int off, int len) method in class:SharedFileInputStream
[all...]
/javamail/mail/src/test/java/com/sun/mail/util/logging/
H A DAbstractLogging.java114 final void read(LogManager manager, Properties props) throws IOException { method in class:AbstractLogging

Completed in 67 milliseconds