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, skip
mark, markSupported, reset
public RpcInputStream(RpcPerforceFile file, Charset fromCharset) throws IOException, FileEncoderException
IOException
FileEncoderException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FileInputStream
IOException
public int read() throws IOException
read
in class FileInputStream
IOException
public int read(byte[] targetBytes, int targetOffset, int targetLen) throws IOException
read
in class FileInputStream
IOException
public int read(byte[] targetBytes) throws IOException
read
in class FileInputStream
IOException
Copyright © 2017 Perforce Software. All Rights Reserved.