twcsckernel.projectbase.io
Class WriterFactoryImpl
java.lang.Object
twcsckernel.projectbase.io.WriterFactoryImpl
- All Implemented Interfaces:
- java.rmi.Remote, WriterFactory
public class WriterFactoryImpl
- extends java.lang.Object
- implements WriterFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriterFactoryImpl
public WriterFactoryImpl(FileSecurityManager defaultSecManager,
java.util.Collection<LocalFsChangeListener> listeners)
throws java.lang.NullPointerException
- Throws:
java.lang.NullPointerException
newFileOutputStream
public RemoteFileOutputStream newFileOutputStream(java.lang.String filePath)
throws java.rmi.RemoteException,
java.io.FileNotFoundException,
java.lang.SecurityException
- Throws:
java.rmi.RemoteException
java.io.FileNotFoundException
java.lang.SecurityException
newFileOutputStream
public RemoteFileOutputStream newFileOutputStream(java.lang.String filePath,
FileSecurityManager secManager)
throws java.rmi.RemoteException,
java.io.FileNotFoundException,
java.lang.SecurityException
- Throws:
java.rmi.RemoteException
java.io.FileNotFoundException
java.lang.SecurityException
write
public void write(int fileID,
int b)
throws java.rmi.RemoteException,
java.io.IOException,
ItemNotFoundException
- Specified by:
write
in interface WriterFactory
- Throws:
java.rmi.RemoteException
java.io.IOException
ItemNotFoundException
write
public void write(int fileID,
byte[] b)
throws java.rmi.RemoteException,
java.io.IOException,
ItemNotFoundException
- Specified by:
write
in interface WriterFactory
- Throws:
java.rmi.RemoteException
java.io.IOException
ItemNotFoundException
flush
public void flush(int fileID)
throws java.rmi.RemoteException,
java.io.IOException,
ItemNotFoundException
- Specified by:
flush
in interface WriterFactory
- Throws:
java.rmi.RemoteException
java.io.IOException
ItemNotFoundException
close
public void close(int fileID)
throws java.rmi.RemoteException,
java.io.IOException,
ItemNotFoundException
- Specified by:
close
in interface WriterFactory
- Throws:
java.rmi.RemoteException
java.io.IOException
ItemNotFoundException
releaseAllResources
public void releaseAllResources()
Copyright © 2005-2006 CS@PUT. All Rights Reserved.