Class StagedFileWrapper


  • public class StagedFileWrapper
    extends Object
    RemoteFileWrapper for a file path in the target stage as well as an optional size
    Author:
    obabarinsa
    • Constructor Detail

      • StagedFileWrapper

        public StagedFileWrapper​(String filepath,
                                 Long filesize)
        StagedFileWrapper - just wraps the path of a file and its size for serialization
        Parameters:
        filepath - the filepath for this file
        filesize - the size of this file
      • StagedFileWrapper

        public StagedFileWrapper​(String filepath)
        StagedFileWrapper - just setting the path without a size
        Parameters:
        filepath - the filepath for this file
    • Method Detail

      • getPath

        public String getPath()
        getPath - returns the path of this file
        Returns:
        the file path
      • getSize

        public Long getSize()
        getSize - get the size of this file
        Returns:
        the file size