plugins.wfx
Class RemoteInfo

java.lang.Object
  extended by plugins.wfx.RemoteInfo

public class RemoteInfo
extends java.lang.Object

RemoteInfoStruct is passed to FsGetFile and FsRenMovFile. It contains details about the remote file being copied.

Author:
Ken

Constructor Summary
RemoteInfo(long sizeLow, long sizeHigh, FileTime lastWriteTime, int attr)
          RemoteInfoStruct is passed to FsGetFile and FsRenMovFile.
 
Method Summary
 int getAttr()
           
 FileTime getLastWriteTime()
           
 long getSizeHigh()
           
 long getSizeLow()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteInfo

public RemoteInfo(long sizeLow,
                  long sizeHigh,
                  FileTime lastWriteTime,
                  int attr)
RemoteInfoStruct is passed to FsGetFile and FsRenMovFile. It contains details about the remote file being copied.
Important note:
This struct is passed to FsGetFile and FsRenMovFile to make it easier for the plugin to copy the file. You can of course also ignore this parameter.

Parameters:
sizeLow - Low DWORD (32 bit each) of the remote file size. Useful for a progress indicator.
sizeHigh - High DWORD (32 bit each) of the remote file size. Useful for a progress indicator.
lastWriteTime - Time stamp of the remote file - should be copied with the file.
attr - Attributes of the remote file - should be copied with the file.
Method Detail

getSizeLow

public final long getSizeLow()
Returns:
Returns the the Low DWORD (32 bit each) of the remote file size. Useful for a progress indicator.

getSizeHigh

public final long getSizeHigh()
Returns:
Returns the High DWORD (32 bit each) of the remote file size. Useful for a progress indicator.

getLastWriteTime

public final FileTime getLastWriteTime()
Returns:
Returns the Time stamp of the remote file - should be copied with the file.

getAttr

public final int getAttr()
Returns:
Returns the Attributes of the remote file - should be copied with the file.