Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.remote.resourcefork.ntfs
Class NtfsForkServer  view NtfsForkServer download NtfsForkServer.java

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended bycom.flexstor.remote.resourcefork.ntfs.NtfsForkServer
All Implemented Interfaces:
java.rmi.Remote, com.flexstor.common.services.remote.resourcefork.RsrcForkServerI, java.io.Serializable

public class NtfsForkServer
extends java.rmi.server.UnicastRemoteObject
implements com.flexstor.common.services.remote.resourcefork.RsrcForkServerI

Server side implementation for requesting resource fork operations to files residing in a NTFS system.


Field Summary
(package private) static java.lang.String IDENTIFIER
           
 
Fields inherited from class java.rmi.server.UnicastRemoteObject
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
NtfsForkServer()
           
 
Method Summary
 boolean copyFile(java.lang.String sInFile, java.lang.String sDestination)
          Copies a file from one location to another, both location in the remote server
 boolean decodeMacBinary(java.lang.String sInFile, java.lang.String sDestination)
          Splits a MacBinary file in the remote server
 boolean deleteFile(java.lang.String sInFile)
          Deletes a file in the remote server
 boolean encodeMacBinary(java.lang.String sInFile, java.lang.String sDestination)
          Creates a MacBinary file in the remote server
 boolean moveFile(java.lang.String sInFile, java.lang.String sDestination)
          Moves a file from one location to another, both location in the remote server
 
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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

IDENTIFIER

static final java.lang.String IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

NtfsForkServer

public NtfsForkServer()
               throws java.rmi.RemoteException
Method Detail

encodeMacBinary

public boolean encodeMacBinary(java.lang.String sInFile,
                               java.lang.String sDestination)
                        throws java.rmi.RemoteException
Creates a MacBinary file in the remote server

Specified by:
encodeMacBinary in interface com.flexstor.common.services.remote.resourcefork.RsrcForkServerI

decodeMacBinary

public boolean decodeMacBinary(java.lang.String sInFile,
                               java.lang.String sDestination)
                        throws java.rmi.RemoteException
Splits a MacBinary file in the remote server

Specified by:
decodeMacBinary in interface com.flexstor.common.services.remote.resourcefork.RsrcForkServerI

copyFile

public boolean copyFile(java.lang.String sInFile,
                        java.lang.String sDestination)
                 throws java.rmi.RemoteException
Copies a file from one location to another, both location in the remote server

Specified by:
copyFile in interface com.flexstor.common.services.remote.resourcefork.RsrcForkServerI

moveFile

public boolean moveFile(java.lang.String sInFile,
                        java.lang.String sDestination)
                 throws java.rmi.RemoteException
Moves a file from one location to another, both location in the remote server

Specified by:
moveFile in interface com.flexstor.common.services.remote.resourcefork.RsrcForkServerI

deleteFile

public boolean deleteFile(java.lang.String sInFile)
                   throws java.rmi.RemoteException
Deletes a file in the remote server

Specified by:
deleteFile in interface com.flexstor.common.services.remote.resourcefork.RsrcForkServerI