package sevenz4s
- Alphabetic
- Public
- Protected
Type Members
- sealed trait ArchiveFormat extends AnyRef
- sealed abstract class CompressionEntry extends AnyRef
Representation for archive entry used during compression and update, it contains data source and specific properties.
- final case class CompressionEntry7Z(dataSize: Long, source: Either[Path, InputStream], path: String, isDir: Boolean, lastModificationTime: Date = Calendar.getInstance().getTime, isAnti: Boolean = false) extends CompressionEntry with Product with Serializable
- final case class CompressionEntryBZip2(dataSize: Long, source: Either[Path, InputStream]) extends CompressionEntry with Product with Serializable
- final case class CompressionEntryGZip(dataSize: Long, source: Either[Path, InputStream], path: String, lastModificationTime: Date = Calendar.getInstance().getTime) extends CompressionEntry with Product with Serializable
- final case class CompressionEntryTar(dataSize: Long, source: Either[Path, InputStream], path: String, isDir: Boolean, lastModificationTime: Date = Calendar.getInstance().getTime, user: String = "", group: String = "", symLink: String = null, hardLink: String = null) extends CompressionEntry with Product with Serializable
- final case class CompressionEntryZip(dataSize: Long, source: Either[Path, InputStream], path: String, isDir: Boolean, lastModificationTime: Date = Calendar.getInstance().getTime, lastAccessTime: Date = Calendar.getInstance().getTime, creationTime: Date = Calendar.getInstance().getTime) extends CompressionEntry with Product with Serializable
- sealed trait CreatableArchiveFormat extends ArchiveFormat
- final case class ExtractionEntry(item: ISimpleInArchiveItem, passwd: String, originalSize: Long, packedSize: Long, path: String, isDir: Boolean, compressMethod: String, lastAccessTime: Option[Date] = None, creationTime: Option[Date] = None, isEncrypted: Boolean = false, user: String = "", group: String = "", hostOS: String = "", comment: String = "", CRC: Int) extends Product with Serializable
Representation for archive entry used during extraction, it contains specific properties and can extract data to given stream.
- case class SevenZ4SException(message: String) extends Exception with Product with Serializable
Library used exception.
Library used exception.
Note that the 7z-binding library which this library is built upon throws its own exception.
- message
exception message
- sealed trait SingleArchiveFormat extends ArchiveFormat
SingleArchiveFormat
usually only supports the compression of stream, they don't have the ability of archiving, and often works together with some archiving-only format.SingleArchiveFormat
usually only supports the compression of stream, they don't have the ability of archiving, and often works together with some archiving-only format.For example, for
file.tar.gz
,Tar
first archives andGzip
does the compression. - sealed trait UpdatableArchiveFormat extends ArchiveFormat