|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
com.caucho.quercus.lib.file.AbstractBinaryOutput
public abstract class AbstractBinaryOutput
Represents a PHP open file
Field Summary |
---|
Fields inherited from interface com.caucho.quercus.lib.file.BinaryStream |
---|
SEEK_CUR, SEEK_END, SEEK_SET |
Constructor Summary | |
---|---|
AbstractBinaryOutput()
|
Method Summary | |
---|---|
void |
close()
Closes the stream. |
void |
closeWrite()
Closes the file. |
void |
flush()
Flushes the output. |
java.io.OutputStream |
getOutputStream()
Returns self as the output stream. |
long |
getPosition()
Tells the position in the stream |
java.lang.String |
getResourceType()
|
boolean |
isEOF()
Returns false always for output streams |
void |
print(char v)
Prints a string to a file. |
void |
print(java.lang.String v)
Prints a string to a file. |
long |
seek(long offset,
int whence)
Seek according to offset and whence. |
boolean |
setPosition(long offset)
Sets the position. |
Value |
stat()
Returns an array filled with stat information. |
int |
write(java.io.InputStream is,
int length)
Writes to a stream. |
Methods inherited from class java.io.OutputStream |
---|
write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.caucho.quercus.lib.file.BinaryOutput |
---|
write |
Constructor Detail |
---|
public AbstractBinaryOutput()
Method Detail |
---|
public java.io.OutputStream getOutputStream()
getOutputStream
in interface BinaryOutput
public int write(java.io.InputStream is, int length)
write
in interface BinaryOutput
public void print(char v) throws java.io.IOException
print
in interface BinaryOutput
java.io.IOException
public void print(java.lang.String v) throws java.io.IOException
print
in interface BinaryOutput
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface BinaryOutput
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void closeWrite()
closeWrite
in interface BinaryOutput
public void close()
close
in interface BinaryOutput
close
in interface BinaryStream
close
in interface java.io.Closeable
close
in class java.io.OutputStream
public boolean isEOF()
isEOF
in interface BinaryStream
public long getPosition()
getPosition
in interface BinaryStream
public boolean setPosition(long offset)
setPosition
in interface BinaryStream
public long seek(long offset, int whence)
BinaryStream
seek
in interface BinaryStream
public java.lang.String getResourceType()
public Value stat()
BinaryStream
stat
in interface BinaryStream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |