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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExtractionEntry
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new 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)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val CRC: Int
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val comment: String
- val compressMethod: String
- val creationTime: Option[Date]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def extractTo(dst: Either[Path, OutputStream]): Boolean
Extracts its data to the given file or
OutputStream
.Extracts its data to the given file or
OutputStream
.We won't close the
OutputStream
, you have to close it on your own.Note that it's more efficient to use extractor's
extractTo
than this entry's independentextractTo
if you intend to extract the entire archive.extractTo
can be called for multiple times.- dst
the destination for output archive entry stream
- returns
boolean indicating whether the extraction succeeded
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val group: String
- val hostOS: String
- val isDir: Boolean
- val isEncrypted: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastAccessTime: Option[Date]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val originalSize: Long
- val packedSize: Long
- val path: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val user: String
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated