JavaDoc


FileUpload

org.dbreplicator.replication
Class FileUpload

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.dbreplicator.replication.FileUpload
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, _FileUpload

public class FileUpload
extends java.rmi.server.UnicastRemoteObject
implements _FileUpload

See Also:
Serialized Form

Constructor Summary
FileUpload()
           
 
Method Summary
 void closeFile()
          Close the file
 void fileStart(java.lang.String fileName, boolean isFileForSynchronization)
          fileStart
 void writeFileContent(byte[] bytes, int offset, int length)
          writeFileContent
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileUpload

public FileUpload()
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

fileStart

public void fileStart(java.lang.String fileName,
                      boolean isFileForSynchronization)
               throws RepException
fileStart

Specified by:
fileStart in interface _FileUpload
Parameters:
fileName - String
Throws:
RepException

writeFileContent

public void writeFileContent(byte[] bytes,
                             int offset,
                             int length)
                      throws RepException
writeFileContent

Specified by:
writeFileContent in interface _FileUpload
Parameters:
bytes - byte[]
Throws:
RepException

closeFile

public void closeFile()
               throws RepException
Close the file

Specified by:
closeFile in interface _FileUpload
Throws:
RepException



Powered by Drupal - Theme by Danger4k