public class RpcInputStream extends 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,
Charset fromCharset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] targetBytes) |
int |
read(byte[] targetBytes,
int targetOffset,
int targetLen) |
available, finalize, getChannel, getFD, skipmark, markSupported, resetpublic RpcInputStream(RpcPerforceFile file, Charset fromCharset) throws IOException, FileEncoderException
IOExceptionFileEncoderExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FileInputStreamIOExceptionpublic int read()
throws IOException
read in class FileInputStreamIOExceptionpublic int read(byte[] targetBytes,
int targetOffset,
int targetLen)
throws IOException
read in class FileInputStreamIOExceptionpublic int read(byte[] targetBytes)
throws IOException
read in class FileInputStreamIOExceptionCopyright © 2017 Perforce Software. All Rights Reserved.