Class LocalFile

    • Constructor Detail

      • LocalFile

        public LocalFile​(Path file,
                         Path basePath)
        Constructs a new file representing a file on the disk.
        Parameters:
        file - the path to the file to be represented
        basePath - the base path
    • Method Detail

      • getS3Key

        public String getS3Key()
      • getChecksum

        public String getChecksum()
      • getFile

        public Path getFile()
      • createS3Key

        protected String createS3Key​(Path file,
                                     Path rootFolder)
      • getContentType

        public String getContentType()
        Value for the content-type header.
        Returns:
        Either zip or json.