Class CopyFilesMethod
- Direct Known Subclasses:
Bytewise,CompressAnyTIFF
A method used for copying files (e.g. bytewise or activating compression etc.).
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMakes a copy of the file atsourceatdestination.protected abstract voidmakeCopyWithDirectory(Path source, Path destination) LikemakeCopy(Path,Path)but after any necessary directories are created sodestinationcan be written.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
CopyFilesMethod
public CopyFilesMethod()
-
-
Method Details
-
makeCopy
Makes a copy of the file atsourceatdestination.- Parameters:
source- the path of the file to copy fromdestination- the path to create a copy at- Throws:
CreateException- if anything goes wrong
-
makeCopyWithDirectory
LikemakeCopy(Path,Path)but after any necessary directories are created sodestinationcan be written.- Parameters:
source-destination-- Throws:
CreateException
-