| com.caucho.quercus.lib.file.BinaryInput
All known Subclasses: com.caucho.quercus.lib.file.FileInputOutput, com.caucho.quercus.lib.file.ReadStreamInput, com.caucho.quercus.lib.file.WrappedStream, com.caucho.quercus.lib.file.AbstractBinaryInputOutput,
BinaryInput | public interface BinaryInput extends BinaryStream(Code) | | Interface for a Quercus binary input stream
|
SEEK_CUR | final public static int SEEK_CUR(Code) | | |
SEEK_END | final public static int SEEK_END(Code) | | |
SEEK_SET | final public static int SEEK_SET(Code) | | |
close | public void close()(Code) | | Closes the stream.
|
closeRead | public void closeRead()(Code) | | Closes the stream for reading
|
getInputStream | public InputStream getInputStream()(Code) | | Returns an InputStream to the input.
|
getPosition | public long getPosition()(Code) | | Returns the current location in the stream
|
read | public int read() throws IOException(Code) | | Reads the next byte, returning -1 on eof.
|
read | public int read(byte[] buffer, int offset, int length) throws IOException(Code) | | Reads into a buffer, returning -1 on eof.
|
read | public int read(char[] buffer, int offset, int length) throws IOException(Code) | | Reads into a buffer, returning -1 on eof.
|
readOptionalLinefeed | public boolean readOptionalLinefeed() throws IOException(Code) | | Reads the optional linefeed character from a \r\n
|
seek | public long seek(long offset, int whence)(Code) | | Seek according to offset and whence. For fseek() compatibility in
wrapped streams.
|
setEncoding | public void setEncoding(String encoding) throws UnsupportedEncodingException(Code) | | Sets the current read encoding. The encoding can either be a
Java encoding name or a mime encoding.
Parameters: encoding - name of the read encoding |
setPosition | public boolean setPosition(long offset)(Code) | | Sets the current location in the stream
|
|
|