|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.lib.file.AbstractBinaryInputOutput
com.caucho.quercus.lib.file.ByteArrayBinaryStream
public class ByteArrayBinaryStream
php://memory
Field Summary |
---|
Fields inherited from class com.caucho.quercus.lib.file.AbstractBinaryInputOutput |
---|
_env, _isEOF, _isTimeout, _lineReader |
Fields inherited from interface com.caucho.quercus.lib.file.BinaryStream |
---|
SEEK_CUR, SEEK_END, SEEK_SET |
Constructor Summary | |
---|---|
ByteArrayBinaryStream(Env env)
|
Method Summary | |
---|---|
long |
getPosition()
Returns the current location in the file. |
boolean |
isEOF()
Returns true on the EOF. |
boolean |
setPosition(long pos)
Sets the current location in the file. |
void |
unread()
Unread the last byte. |
Methods inherited from class com.caucho.quercus.lib.file.AbstractBinaryInputOutput |
---|
appendTo, close, closeRead, closeWrite, flush, getAvailable, getEnv, getInputStream, getOutputStream, getResourceType, init, isTimeout, openCopy, print, print, read, read, read, readLine, readOptionalLinefeed, seek, setTimeout, stat, toJavaObject, toString, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ByteArrayBinaryStream(Env env)
Method Detail |
---|
public long getPosition()
AbstractBinaryInputOutput
getPosition
in interface BinaryInput
getPosition
in interface BinaryStream
getPosition
in class AbstractBinaryInputOutput
public boolean setPosition(long pos)
AbstractBinaryInputOutput
setPosition
in interface BinaryInput
setPosition
in interface BinaryStream
setPosition
in class AbstractBinaryInputOutput
public void unread() throws java.io.IOException
AbstractBinaryInputOutput
unread
in interface BinaryInput
unread
in class AbstractBinaryInputOutput
java.io.IOException
public boolean isEOF()
AbstractBinaryInputOutput
isEOF
in interface BinaryStream
isEOF
in class AbstractBinaryInputOutput
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |