All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jnfs.RemoteFileReader

java.lang.Object
   |
   +----java.io.Reader
           |
           +----java.io.InputStreamReader
                   |
                   +----jnfs.RemoteFileReader

public class RemoteFileReader
extends InputStreamReader
Convenience class for reading character files remotely. Uses the default character encoding and the default byte-buffer size when creating a InputStreamReader on a RemoteFileInputStream.

Version:
$Id: RemoteFileReader.java,v 2.11 1997/05/20 17:59:39 mjr Exp $
Author:
Michael John Radwin
See Also:
FileServer, RemoteFileInputStream, InputStreamReader

Constructor Index

 o RemoteFileReader(FileServer, Token, File)
Builds an InputStreamReader on a RemoteFileInputStream using the default character encoding and byte-buffer size.
 o RemoteFileReader(FileServer, Token, String)
Builds an InputStreamReader on a RemoteFileInputStream using the default character encoding and byte-buffer size.

Constructors

 o RemoteFileReader
 public RemoteFileReader(FileServer srv,
                         Token credentials,
                         String pathname) throws IOException, AuthenticationException, PermissionDeniedException
Builds an InputStreamReader on a RemoteFileInputStream using the default character encoding and byte-buffer size.

Throws: IOException
if an I/O error occurs.
Throws: FileTableFullException
if this file cannot be opend because the system file table is full.
Throws: AuthenticationException
if the authentication of user fails.
Throws: PermissionDeniedException
if the user has insufficient privileges to open this file.
 o RemoteFileReader
 public RemoteFileReader(FileServer srv,
                         Token credentials,
                         File file) throws IOException, AuthenticationException, PermissionDeniedException
Builds an InputStreamReader on a RemoteFileInputStream using the default character encoding and byte-buffer size.

Throws: IOException
if an I/O error occurs.
Throws: FileTableFullException
if this file cannot be opend because the system file table is full.
Throws: AuthenticationException
if the authentication of user fails.
Throws: PermissionDeniedException
if the user has insufficient privileges to open this file.

All Packages  Class Hierarchy  This Package  Previous  Next  Index