|
||||||||||
| 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 BinaryOutputjava.io.IOException
public void print(java.lang.String v)
throws java.io.IOException
print in interface BinaryOutputjava.io.IOException
public void flush()
throws java.io.IOException
flush in interface BinaryOutputflush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void closeWrite()
closeWrite in interface BinaryOutputpublic void close()
close in interface BinaryOutputclose in interface BinaryStreamclose in interface java.io.Closeableclose in class java.io.OutputStreampublic boolean isEOF()
isEOF in interface BinaryStreampublic long getPosition()
getPosition in interface BinaryStreampublic boolean setPosition(long offset)
setPosition in interface BinaryStream
public long seek(long offset,
int whence)
BinaryStream
seek in interface BinaryStreampublic 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 | |||||||||