All Packages Class Hierarchy This Package Previous Next Index
Class jnfs.RemoteFileWriter
java.lang.Object
|
+----java.io.Writer
|
+----java.io.OutputStreamWriter
|
+----jnfs.RemoteFileWriter
- public class RemoteFileWriter
- extends OutputStreamWriter
Convenience class for writing character files remotely. Uses the
default character encoding and the default byte-buffer size when
creating a OutputStreamWriter on a
RemoteFileOutputStream.
- Version:
- $Id: RemoteFileWriter.java,v 2.11 1997/05/20 17:59:39 mjr Exp $
- Author:
- Michael John Radwin
- See Also:
- FileServer, RemoteFileOutputStream, OutputStreamWriter
-
RemoteFileWriter(FileServer, Token, File)
-
Builds an
OutputStreamWriter on a
RemoteFileOutputStream using the default character
encoding and byte-buffer size for overwriting.
-
RemoteFileWriter(FileServer, Token, File, boolean)
-
Builds an
OutputStreamWriter on a
RemoteFileOutputStream using the default character
encoding and byte-buffer size for appending or overwriting.
-
RemoteFileWriter(FileServer, Token, String)
-
Builds an
OutputStreamWriter on a
RemoteFileOutputStream using the default character
encoding and byte-buffer size for overwriting.
-
RemoteFileWriter(FileServer, Token, String, boolean)
-
Builds an
OutputStreamWriter on a
RemoteFileOutputStream using the default character
encoding and byte-buffer size for appending or overwriting.
RemoteFileWriter
public RemoteFileWriter(FileServer srv,
Token credentials,
String pathname) throws IOException, AuthenticationException, PermissionDeniedException
- Builds an
OutputStreamWriter on a
RemoteFileOutputStream using the default character
encoding and byte-buffer size for overwriting.
- 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.
RemoteFileWriter
public RemoteFileWriter(FileServer srv,
Token credentials,
String pathname,
boolean append) throws IOException, AuthenticationException, PermissionDeniedException
- Builds an
OutputStreamWriter on a
RemoteFileOutputStream using the default character
encoding and byte-buffer size for appending or overwriting.
- Parameters:
- append - if the file should be opened for appending.
- 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.
RemoteFileWriter
public RemoteFileWriter(FileServer srv,
Token credentials,
File file) throws IOException, AuthenticationException, PermissionDeniedException
- Builds an
OutputStreamWriter on a
RemoteFileOutputStream using the default character
encoding and byte-buffer size for overwriting.
- 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.
RemoteFileWriter
public RemoteFileWriter(FileServer srv,
Token credentials,
File file,
boolean append) throws IOException, AuthenticationException, PermissionDeniedException
- Builds an
OutputStreamWriter on a
RemoteFileOutputStream using the default character
encoding and byte-buffer size for appending or overwriting.
- Parameters:
- append - if the file should be opened for appending.
- 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