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.IOException
FileEncoderException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FileInputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.FileInputStream
java.io.IOException
public int read(byte[] targetBytes, int targetOffset, int targetLen) throws java.io.IOException
read
in class java.io.FileInputStream
java.io.IOException
public int read(byte[] targetBytes) throws java.io.IOException
read
in class java.io.FileInputStream
java.io.IOException