public class ProcessInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
in |
protected Process |
p |
| Constructor and Description |
|---|
ProcessInputStream(String command,
String file)
constructor
|
protected final InputStream in
protected final Process p
public ProcessInputStream(String command, String file) throws IOException
command - file - IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreampublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow