Class CommandInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
ecmwf.common.technical.CommandInputStream
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
ConstructorsConstructorDescriptionCommandInputStream(InputStream in, Process process) Instantiates a new command input stream.CommandInputStream(InputStream in, String[] cmd) Instantiates a new command input stream. -
Method Summary
Modifier and TypeMethodDescriptionintAvailable.voidclose()Close.voidfinalize()Finalize.voidflush()Flush.voidmark(int readlimit) Mark.booleanMark supported.intread()Read.intread(byte[] b) Read.intread(byte[] b, int off, int len) Read.voidreset()Reset.longskip(long n) Skip.Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
CommandInputStream
Instantiates a new command input stream.- Parameters:
in- the inprocess- the process- Throws:
IOException- Signals that an I/O exception has occurred.
-
CommandInputStream
Instantiates a new command input stream.- Parameters:
in- the incmd- the cmd- Throws:
IOException- Signals that an I/O exception has occurred.
-
-
Method Details
-
close
Close.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-
flush
Flush.- Throws:
IOException- Signals that an I/O exception has occurred.
-
available
Available.- Overrides:
availablein classFilterInputStream- Throws:
IOException
-
read
Read.- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
Read.- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
Read.- Overrides:
readin classFilterInputStream- Throws:
IOException
-
skip
Skip.- Overrides:
skipin classFilterInputStream- Throws:
IOException
-
mark
-
markSupported
-
reset
-
finalize
-