S-PLUS Connect/Java v1.0

com.insightful.splus
Interface FileInputStreamProxy

All Superinterfaces:
Remote
All Known Implementing Classes:
FileInputStreamProxyImpl

public interface FileInputStreamProxy
extends Remote

Remote interface with the same methods as FileInputStream.

See Also:
FileInputStream

Method Summary
 int available()
           
 void close()
           
 void finalize()
           
 FileDescriptor getFD()
           
 byte[] getReadByteValues()
           
 int read()
           
 int read(byte[] b)
          Read method equivalent to that in FileInputStream.
 int read(byte[] b, int off, int len)
          Read method equivalent to that in FileInputStream.
 byte[] read(int len)
          Read method that retrieves a specified number of bytes.
 long skip(long n)
           
 

Method Detail

available

public int available()
              throws IOException,
                     RemoteException
Throws:
IOException
RemoteException

close

public void close()
           throws IOException,
                  RemoteException
Throws:
IOException
RemoteException

finalize

public void finalize()
              throws IOException,
                     RemoteException
Throws:
IOException
RemoteException

getFD

public FileDescriptor getFD()
                     throws IOException,
                            RemoteException
Throws:
IOException
RemoteException

read

public int read()
         throws IOException,
                RemoteException
Throws:
IOException
RemoteException

read

public int read(byte[] b)
         throws IOException,
                RemoteException
Read method equivalent to that in FileInputStream. Note that the byte copy is done on the server. Call getReadByteValues() to retrieve the bytes on the client.

Throws:
IOException
RemoteException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException,
                RemoteException
Read method equivalent to that in FileInputStream. Note that the byte copy is done on the server. Call getReadByteValues() to retrieve the bytes on the client.

Throws:
IOException
RemoteException

read

public byte[] read(int len)
            throws IOException,
                   RemoteException
Read method that retrieves a specified number of bytes. Unlike the other read() methods, this returns a byte array so a call to getReadByteValues() is not needed.

Throws:
IOException
RemoteException

skip

public long skip(long n)
          throws IOException,
                 RemoteException
Throws:
IOException
RemoteException

getReadByteValues

public byte[] getReadByteValues()
                         throws RemoteException
Throws:
RemoteException

S-PLUS Connect/Java v1.0

Copyright © 2000, 2002 Insightful Corporation
Warning: Classes not documented in the S-PLUS Programmer's Guide may change in future releases.