Class FileContent

    • Field Detail

      • file

        protected final Path file
        The file containing the content of a RereadableContent.
    • Constructor Detail

      • FileContent

        public FileContent​(SwitchingOutputStream sos)
                    throws IOException
        Creates a new RereadableContent based on the designated output stream.
        Parameters:
        sos - The SwitchingOutputStream providing the data as Path, its size and its SHA-512 hash.
        Throws:
        IOException - If the designated output stream has not been closed yet, an IOException will be thrown.