com.insightful.splus
Class RemoteFileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
com.insightful.splus.RemoteFileInputStream
- All Implemented Interfaces:
- Closeable
public class RemoteFileInputStream
- extends FileInputStream
Client object representing a server-side FileInputStream object. Relays
method calls via a remote FileInputStreamProxy object.
RemoteFileInputStream
public RemoteFileInputStream(String filename,
SplusSession session)
throws FileNotFoundException
- Throws:
FileNotFoundException
available
public int available()
throws IOException
- Overrides:
available
in class FileInputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class FileInputStream
- Throws:
IOException
finalize
public void finalize()
throws IOException
- Overrides:
finalize
in class FileInputStream
- Throws:
IOException
read
public int read()
throws IOException
- Overrides:
read
in class FileInputStream
- Throws:
IOException
read
public int read(byte[] b)
throws IOException
- Overrides:
read
in class FileInputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class FileInputStream
- Throws:
IOException
skip
public long skip(long n)
throws IOException
- Overrides:
skip
in class FileInputStream
- Throws:
IOException
Copyright © 2000, 2002 Insightful Corporation
Warning: Classes not documented in the S-PLUS Programmer's Guide may change in future releases.