/openjdk7/jdk/src/share/classes/java/io/ |
H A D | PipedInputStream.java | 33 * Typically, data is read from a <code>PipedInputStream</code> 40 * decoupling read operations from write operations, 55 /* REMIND: identification of the read and write sides needs to be 90 * byte of data will be read by this piped input stream. 304 public synchronized int read() throws IOException { method in class:PipedInputStream 347 * will be read if the end of the data stream is reached or if 349 * If <code>len </code> is zero, then no bytes are read and 0 is returned; 354 * @param b the buffer into which the data is read. 356 * @param len the maximum number of bytes read. 357 * @return the total number of bytes read int 368 public synchronized int read(byte b[], int off, int len) throws IOException { method in class:PipedInputStream [all...] |
H A D | PipedReader.java | 41 /* REMIND: identification of the read and write sides needs to be 68 * character of data will be read by this piped reader. 234 public synchronized int read() throws IOException { method in class:PipedReader 276 * will be read if the end of the data stream is reached or if 280 * @param cbuf the buffer into which the data is read. 282 * @param len the maximum number of characters read. 283 * @return the total number of characters read into the buffer, or 291 public synchronized int read(char cbuf[], int off, int len) throws IOException { method in class:PipedReader 309 int c = read(); 330 * Tell whether this stream is ready to be read [all...] |
H A D | PushbackInputStream.java | 34 * to read an indefinite number of data bytes 38 * the next read operation on the input stream 43 * a method whose job is to read just an identifier 44 * can read until it sees the operator and 45 * then push the operator back to be re-read. 61 * be read. When the buffer is empty, <code>pos</code> is equal to 86 * @param in the input stream from which bytes will be read. 108 * @param in the input stream from which bytes will be read. 124 * one, and otherwise calls the <code>read</code> method of its underlying 132 * @see java.io.InputStream#read() 134 public int read() throws IOException { method in class:PushbackInputStream 165 public int read(byte[] b, int off, int len) throws IOException { method in class:PushbackInputStream [all...] |
H A D | PushbackReader.java | 48 * @param in The reader from which characters will be read 64 * @param in The reader from which characters will be read 79 * @return The character read, or -1 if the end of the stream has been 84 public int read() throws IOException { method in class:PushbackReader 90 return super.read(); 99 * @param len Maximum number of characters to read 101 * @return The number of characters read, or -1 if the end of the 106 public int read(char cbuf[], int off, int len) throws IOException { method in class:PushbackReader 128 len = super.read(cbuf, off, len); 143 * pushback buffer. After this method returns, the next character to be read [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | SocketInputStream.java | 87 * @param b the buffer into which the data is read 89 * @param len the maximum number of bytes read 90 * @param timeout the read timeout in ms 91 * @return the actual number of bytes read, -1 is 102 * @param b the buffer into which the data is read 103 * @return the actual number of bytes read, -1 is 107 public int read(byte b[]) throws IOException { method in class:SocketInputStream 108 return read(b, 0, b.length); 114 * @param b the buffer into which the data is read 116 * @param len the maximum number of bytes read 121 public int read(byte b[], int off, int length) throws IOException { method in class:SocketInputStream 125 int read(byte b[], int off, int length, int timeout) throws IOException { method in class:SocketInputStream 205 public int read() throws IOException { method in class:SocketInputStream [all...] |
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | AsynchronousFileChannel.java | 44 * a variable-length sequence of bytes that can be read and written and whose 50 * within the file. Instead, the file position is specified to each read and 53 * operation. This class also defines read and write methods that initiate 58 * <p> In addition to read and write operations, this class defines the 90 * AsynchronousCloseException}. Multiple read and write operations may be 91 * outstanding at the same time. When multiple read and write operations are 237 * read access if the file is opened for reading. The {@link 291 * read access if the file is opened for reading. The {@link 367 * this time is updated whenever the file is read. Whether or not this is 644 * result of the read i 669 public abstract <A> void read(ByteBuffer dst, method in class:AsynchronousFileChannel 704 public abstract Future<Integer> read(ByteBuffer dst, long position); method in class:AsynchronousFileChannel [all...] |
/openjdk7/jdk/src/share/classes/java/rmi/server/ |
H A D | ObjID.java | 141 * Constructs an object identifier given data read from a stream. 175 * {@link ObjectInput#readLong()} method to read an object number, 176 * then it invokes {@link UID#read(DataInput)} with the 177 * stream to read an address space identifier, and then it 180 * were read from the stream. 182 * @param in the <code>ObjectInput</code> instance to read 190 public static ObjID read(ObjectInput in) throws IOException { method in class:ObjID 192 UID space = UID.read(in);
|
H A D | UID.java | 163 * Constructs a <code>UID</code> given data read from a stream. 246 * {@link DataInput#readInt()} method to read a <code>unique</code> value, 248 * {@link DataInput#readLong()} method to read a <code>time</code> value, 250 * {@link DataInput#readShort()} method to read a <code>count</code> value, 253 * <code>count</code> values that were read from the stream. 255 * @param in the <code>DataInput</code> instance to read 263 public static UID read(DataInput in) throws IOException { method in class:UID
|
/openjdk7/jdk/src/share/classes/java/util/jar/ |
H A D | JarInputStream.java | 34 * The <code>JarInputStream</code> class is used to read the contents of 95 man.read(new ByteArrayInputStream(bytes)); 112 while ((n = is.read(buffer, 0, buffer.length)) != -1) { 186 * bytes are read and <code>0</code> is returned. 190 * @param b the buffer into which the data is read 192 * @param len the maximum number of bytes to read 193 * @return the actual number of bytes read, or -1 if the end of the 204 public int read(byte[] b, int off, int len) throws IOException { method in class:JarInputStream 207 n = super.read(b, off, len);
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | DeflaterInputStream.java | 51 /** Temporary read buffer. */ 73 * @param in input stream to read the uncompressed data to 85 * @param in input stream to read the uncompressed data to 97 * @param in input stream to read the uncompressed data to 142 * This method will block until some input can be read and compressed. 149 public int read() throws IOException { method in class:DeflaterInputStream 151 int len = read(rbuf, 0, 1); 159 * This method will block until some input can be read and compressed. 161 * @param b buffer into which the data is read 163 * @param len maximum number of compressed bytes to read int 171 public int read(byte[] b, int off, int len) throws IOException { method in class:DeflaterInputStream [all...] |
H A D | InflaterInputStream.java | 117 * @return the byte read, or -1 if end of compressed input is reached 120 public int read() throws IOException { method in class:InflaterInputStream 122 return read(singleByteBuf, 0, 1) == -1 ? -1 : singleByteBuf[0] & 0xff; 128 * no bytes are read and <code>0</code> is returned. 129 * @param b the buffer into which the data is read 131 * @param len the maximum number of bytes read 132 * @return the actual number of bytes read, or -1 if the end of the 141 public int read(byte[] b, int off, int len) throws IOException { method in class:InflaterInputStream 172 * of bytes that could be read without blocking. 208 len = read( [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | CipherInputStream.java | 32 * that read() methods return data that are read in from the 38 * CipherInputStream will attempt to read in data and decrypt them, 74 /* the buffer holding data that have been read in from the 83 engine, but have not been read out */ 103 int readin = input.read(ibuffer); 173 public int read() throws IOException { method in class:CipherInputStream 187 * The <code>read</code> method of <code>InputStream</code> calls 188 * the <code>read</code> method of three arguments with the arguments 191 * @param b the buffer into which the data is read 199 public int read(byte b[]) throws IOException { method in class:CipherInputStream 220 public int read(byte b[], int off, int len) throws IOException { method in class:CipherInputStream [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | FileCacheImageInputStream.java | 41 * cache previously read data. 71 * Constructs a <code>FileCacheImageInputStream</code> that will read 81 * @param stream an <code>InputStream</code> to read from. 142 stream.read(buf, 0, (int)Math.min(len, (long)BUFFER_LENGTH)); 156 public int read() throws IOException { method in class:FileCacheImageInputStream 163 return cache.read(); 169 public int read(byte[] b, int off, int len) throws IOException { method in class:FileCacheImageInputStream
|
H A D | FileCacheImageOutputStream.java | 98 public int read() throws IOException { method in class:FileCacheImageOutputStream 101 int val = cache.read(); 108 public int read(byte[] b, int off, int len) throws IOException { method in class:FileCacheImageOutputStream 125 int nbytes = cache.read(b, off, len); 158 * <code>EOFException</code> will be thrown only if a read is
|
H A D | MemoryCache.java | 113 nbytes = stream.read(buf, offset, nbytes); 283 public int read(long pos) throws IOException { method in class:MemoryCache 308 public void read(byte[] b, int off, int len, long pos) method in class:MemoryCache
|
H A D | MemoryCacheImageInputStream.java | 38 * the current read position. 59 * Constructs a <code>MemoryCacheImageInputStream</code> that will read 62 * @param stream an <code>InputStream</code> to read from. 82 public int read() throws IOException { method in class:MemoryCacheImageInputStream 87 return cache.read(streamPos++); 93 public int read(byte[] b, int off, int len) throws IOException { method in class:MemoryCacheImageInputStream 115 cache.read(b, off, len, streamPos);
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/sasl/ |
H A D | SaslInputStream.java | 55 private int bufPos = 0; // read position in buf 77 public int read() throws IOException { method in class:SaslInputStream 79 int count = read(inBuf, 0, 1); 87 public int read(byte[] inBuf, int start, int count) throws IOException { method in class:SaslInputStream 90 int actual = fill(); // read and unwrap next SASL buffer 102 // Return all that we have; next invocation of read() will 118 * and leaving the bytes in buf for read() to return. 142 throw new EOFException("Expecting to read " + len + 156 * @return The number of bytes actually read; -1 if none read [all...] |
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/utils/ |
H A D | StringStream.java | 55 public char read(){ return data.charAt(pos++); } method in class:StringStream 94 sw.append(read());
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/ |
H A D | BASE64DecoderStream.java | 39 * any input stream and read bytes from this filter. The decoding 40 * is done as the bytes are read out. 73 public int read() throws IOException { method in class:BASE64DecoderStream 89 * @param buf the buffer into which the data is read. 91 * @param len the maximum number of bytes read. 92 * @return the total number of bytes read into the buffer, or 97 public int read(byte[] buf, int off, int len) throws IOException { method in class:BASE64DecoderStream 100 if ((c = read()) == -1) { 120 * Returns the number of bytes that can be read from this input 166 int i = in.read(); [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/ |
H A D | TeeInputStream.java | 49 public int read() throws IOException { method in class:TeeInputStream 50 int result = source.read(); 71 public int read(byte[] b, int off, int len) throws IOException { method in class:TeeInputStream 72 int result = source.read(b, off, len); 77 public int read(byte[] b) throws IOException { method in class:TeeInputStream 78 int result = source.read(b);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | ChunkInputStream.java | 48 buf = current.data.read(); 54 public int read(byte b[], int off, int sz) throws IOException { method in class:ChunkInputStream 62 public int read() throws IOException { method in class:ChunkInputStream 85 this.buf = current.data.read();
|
H A D | DataFile.java | 31 * Use {@link RandomAccessFile} for concurrent access of read 56 * @param pointer read position 59 * @param length of data that needs to be read 61 synchronized void read(long pointer, byte[] buf, int offset, int length ) { method in class:DataFile 62 weak.read(pointer, buf, offset, length);
|
H A D | WeakDataFile.java | 64 synchronized void read(long pointer, byte[] buf, int offset, int length ) { method in class:WeakDataFile
|
/openjdk7/jdk/src/windows/classes/sun/nio/ch/ |
H A D | SourceChannelImpl.java | 112 public int read(ByteBuffer dst) throws IOException { method in class:SourceChannelImpl 114 return sc.read(dst); 121 public long read(ByteBuffer[] dsts, int offset, int length) method in class:SourceChannelImpl 127 return read(Util.subsequence(dsts, offset, length)); 134 public long read(ByteBuffer[] dsts) throws IOException { method in class:SourceChannelImpl 136 return sc.read(dsts);
|
/openjdk7/jdk/src/windows/native/sun/nio/ch/ |
H A D | SocketDispatcher.c | 48 DWORD read = 0; local 61 /* read into the buffers */ 65 &read, /* receives number of bytes read */ 79 return convertReturnVal(env, (jint)read, JNI_TRUE); 88 DWORD read = 0; local 114 /* read into the buffers */ 118 &read, /* receives number of bytes read */ 131 JNU_ThrowIOExceptionWithLastError(env, "Vector read faile [all...] |