public class RpcInputStream
extends java.io.FileInputStream
The current main use is for line-end processing with the RpcLineEndFilterInputStream filter class; more uses will probably follow with experience....
| Constructor and Description |
|---|
RpcInputStream(RpcPerforceFile file,
java.nio.charset.Charset fromCharset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] targetBytes) |
int |
read(byte[] targetBytes,
int targetOffset,
int targetLen) |
public RpcInputStream(RpcPerforceFile file, java.nio.charset.Charset fromCharset) throws java.io.IOException, FileEncoderException
java.io.IOExceptionFileEncoderExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FileInputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.FileInputStreamjava.io.IOExceptionpublic int read(byte[] targetBytes,
int targetOffset,
int targetLen)
throws java.io.IOException
read in class java.io.FileInputStreamjava.io.IOExceptionpublic int read(byte[] targetBytes)
throws java.io.IOException
read in class java.io.FileInputStreamjava.io.IOException