minicopier
Class FileToTransfer

java.lang.Object
  extended by minicopier.FileToTransfer

public class FileToTransfer
extends java.lang.Object

FileToTransfer represents a tranfer requested by the user. It contains all the informations about the source file, and where it must be copied, according to the user.


Constructor Summary
FileToTransfer(java.lang.String _path2source, java.lang.String _path2destinationfolder)
          Creation of a FileToTransfer
 
Method Summary
 void changeTargetName(java.lang.String newName)
           
 java.io.File getDestinationFile()
           
 java.lang.String getDestinationFilePath()
           
 java.io.File getDestinationFolder()
           
 java.lang.String getDestinationFolderPath()
           
 java.lang.String getName()
           
 long getSize()
           
 java.io.File getSourceFile()
           
 java.lang.String getSourcePath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileToTransfer

public FileToTransfer(java.lang.String _path2source,
                      java.lang.String _path2destinationfolder)
Creation of a FileToTransfer

Parameters:
_path2source - system path to the source file
_path2destinationfolder - system path to the destination folder
Method Detail

getSourcePath

public java.lang.String getSourcePath()

getSourceFile

public java.io.File getSourceFile()

getDestinationFolderPath

public java.lang.String getDestinationFolderPath()

getDestinationFolder

public java.io.File getDestinationFolder()

getDestinationFilePath

public java.lang.String getDestinationFilePath()

getDestinationFile

public java.io.File getDestinationFile()

getName

public java.lang.String getName()

getSize

public long getSize()

changeTargetName

public void changeTargetName(java.lang.String newName)