minicopier
Class FileToTransfer
java.lang.Object
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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)