Class NullRemoteFile

  • All Implemented Interfaces:
    RemoteFile, java.io.Serializable

    public class NullRemoteFile
    extends java.lang.Object
    implements RemoteFile
    This is an implementation of RemoteFile which does nothing and can therefore be used in batch jobs for which no output is required.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NullRemoteFile()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendTo​(java.io.OutputStream out)
      Write the contents of this remote file to an output stream.
      void cleanup()
      Cleanup this remote file.
      void copyTo​(java.io.File destFile)
      Copy remotefile to local disk storage.
      java.lang.String getChecksum()
      Returns a MD5 Checksum on the file.
      java.io.InputStream getInputStream()
      Get an inputstream that contains the data transferred in this RemoteFile.
      static RemoteFile getInstance​(java.io.File f, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads)  
      java.lang.String getName()
      Return the file name.
      long getSize()
      Returns the total size of the remote file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait