Class FileContentInfo

    • Constructor Detail

      • FileContentInfo

        public FileContentInfo​(java.lang.String checksum,
                               byte[] content)
      • FileContentInfo

        public FileContentInfo()
    • Method Detail

      • toFileContentInfo

        public static FileContentInfo toFileContentInfo​(java.io.File file)
      • toFile

        public static java.io.File toFile​(FileContentInfo fileContentInfo)
      • getChecksum

        public java.lang.String getChecksum()
      • setChecksum

        public void setChecksum​(java.lang.String checksum)
      • getContent

        public byte[] getContent()
      • setContent

        public void setContent​(byte[] content)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class FileInfo
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
        Overrides:
        canEqual in class FileInfo
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class FileInfo