Class CopyFile

java.lang.Object
com.vdoc.sdk.commons.io.filecenter.impl.CopyFile
All Implemented Interfaces:
ICopyable

public class CopyFile extends Object implements ICopyable
Copy file
  • Field Details

    • fileName

      protected String fileName
    • inputStream

      protected InputStream inputStream
  • Constructor Details

    • CopyFile

      public CopyFile(IAttachment attachement)
      Constructor
      Parameters:
      attachement - the attachement
    • CopyFile

      public CopyFile(File file) throws FileNotFoundException
      Constructor
      Parameters:
      file - the file
      Throws:
      FileNotFoundException - on error
    • CopyFile

      public CopyFile(String fileName, InputStream inputStream)
      Constructor
      Parameters:
      fileName - the fileName
      inputStream - the input stream
  • Method Details