|
||||||||||
| 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
com.caucho.quercus.lib.ProcOpenOutput
public class ProcOpenOutput
Represents an output stream for a proc_open process.
| Field Summary |
|---|
| Fields inherited from interface com.caucho.quercus.lib.file.BinaryStream |
|---|
SEEK_CUR, SEEK_END, SEEK_SET |
| Constructor Summary | |
|---|---|
ProcOpenOutput(Env env,
java.io.OutputStream out)
|
|
| Method Summary | |
|---|---|
void |
cleanup()
Implements the EnvCleanup interface. |
void |
close()
Closes the file. |
void |
closeWrite()
Closes the file. |
void |
flush()
Flushes the output. |
java.io.OutputStream |
getOutputStream()
Returns the write stream. |
void |
print(char v)
Prints a string to a file. |
void |
print(java.lang.String v)
Prints a string to a file. |
java.lang.String |
toString()
Converts to a string. |
void |
write(byte[] buffer,
int offset,
int length)
Writes a buffer to a file. |
void |
write(int ch)
Writes a character |
| Methods inherited from class com.caucho.quercus.lib.file.AbstractBinaryOutput |
|---|
getPosition, getResourceType, isEOF, seek, setPosition, stat, write |
| Methods inherited from class java.io.OutputStream |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProcOpenOutput(Env env,
java.io.OutputStream out)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public java.io.OutputStream getOutputStream()
getOutputStream in interface BinaryOutputgetOutputStream in class AbstractBinaryOutput
public void print(char v)
throws java.io.IOException
print in interface BinaryOutputprint in class AbstractBinaryOutputjava.io.IOException
public void print(java.lang.String v)
throws java.io.IOException
print in interface BinaryOutputprint in class AbstractBinaryOutputjava.io.IOException
public void write(int ch)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException
public void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
write in interface BinaryOutputwrite in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
flush in interface BinaryOutputflush in interface java.io.Flushableflush in class AbstractBinaryOutputpublic void closeWrite()
closeWrite in interface BinaryOutputcloseWrite in class AbstractBinaryOutputpublic void close()
close in interface BinaryOutputclose in interface BinaryStreamclose in interface java.io.Closeableclose in class AbstractBinaryOutputpublic void cleanup()
cleanup in interface EnvCleanuppublic java.lang.String toString()
toString in class java.lang.Objectenv -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||