|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
com.caucho.quercus.lib.file.ReadStreamInput
com.caucho.quercus.lib.ProcOpenInput
public class ProcOpenInput
Represents an input 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 | |
|---|---|
ProcOpenInput(Env env,
java.io.InputStream in)
|
|
ProcOpenInput(Env env,
java.io.InputStream in,
FileOutput out)
|
|
| Method Summary | |
|---|---|
void |
cleanup()
Implements the EnvCleanup interface. |
void |
close()
Closes the file. |
long |
getLength()
Returns the number of bytes available to be read, 0 if no known. |
BinaryInput |
openCopy()
Opens a copy. |
java.lang.String |
toString()
Converts to a string. |
| Methods inherited from class com.caucho.quercus.lib.file.ReadStreamInput |
|---|
appendTo, closeRead, getInputStream, getPosition, getResourceType, init, isEOF, read, read, read, read, readLine, readOptionalLinefeed, seek, setEncoding, setPosition, stat, toJavaObject, unread, writeToStream |
| Methods inherited from class java.io.InputStream |
|---|
available, mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProcOpenInput(Env env,
java.io.InputStream in)
throws java.io.IOException
java.io.IOException
public ProcOpenInput(Env env,
java.io.InputStream in,
FileOutput out)
| Method Detail |
|---|
public BinaryInput openCopy()
throws java.io.IOException
openCopy in interface BinaryInputopenCopy in class ReadStreamInputjava.io.IOExceptionpublic long getLength()
public java.lang.String toString()
toString in class ReadStreamInputpublic void close()
ReadStreamInput
close in interface BinaryInputclose in interface BinaryStreamclose in interface java.io.Closeableclose in class ReadStreamInputpublic void cleanup()
cleanup in interface EnvCleanup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||