Direct Known Subclasses:
Bytewise, CompressAnyTIFF

public abstract class CopyFilesMethod extends AnchorBean<CopyFilesMethod>
A method used for copying files (e.g. bytewise or activating compression etc.).
Author:
Owen Feehan
  • Constructor Details

    • CopyFilesMethod

      public CopyFilesMethod()
  • Method Details

    • makeCopy

      public void makeCopy(Path source, Path destination) throws CreateException
      Makes a copy of the file at source at destination.
      Parameters:
      source - the path of the file to copy from
      destination - the path to create a copy at
      Throws:
      CreateException - if anything goes wrong
    • makeCopyWithDirectory

      protected abstract void makeCopyWithDirectory(Path source, Path destination) throws CreateException
      Like makeCopy(Path,Path) but after any necessary directories are created so destination can be written.
      Parameters:
      source -
      destination -
      Throws:
      CreateException