public class FileToTransfer
extends java.lang.Object
Constructor and Description |
---|
FileToTransfer(java.lang.String _path2source,
java.lang.String _path2destinationfolder)
Creation of a FileToTransfer
|
Modifier and Type | Method and Description |
---|---|
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() |
public FileToTransfer(java.lang.String _path2source, java.lang.String _path2destinationfolder)
_path2source
- system path to the source file_path2destinationfolder
- system path to the destination folderpublic java.lang.String getSourcePath()
public java.io.File getSourceFile()
public java.lang.String getDestinationFolderPath()
public java.io.File getDestinationFolder()
public java.lang.String getDestinationFilePath()
public java.io.File getDestinationFile()
public java.lang.String getName()
public long getSize()
public void changeTargetName(java.lang.String newName)