object SevenZ4S

Provides some utility functions.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SevenZ4S
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def compress(format: CreatableArchiveFormat, from: Path, to: Path): Unit

    Useful utility function to compress archive on local file system.

    Useful utility function to compress archive on local file system.

    format

    specifies the format of wanted archive

    from

    path of the directory or the file to be compressed, GZip and BZip2 format can only compress single file

    to

    path of directory where the generated archive to be put into, the name of the archive will be from's base name plus format-specific extension name, if to doesn't exist yet, it will be automatically created

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def extract(from: Path, to: Path): Unit

    Useful utility function to extract archive on local file system.

    Useful utility function to extract archive on local file system.

    from

    path of the archive file

    to

    path of directory where the archive's content extracts into, if to doesn't exist yet, it will be automatically created

  10. def formatOf(archive: Either[Path, InputStream]): ArchiveFormat

    Gets the format of given archive.

    Gets the format of given archive.

    If you already obtain an instance of ArchiveExtractor, use its archiveFormat method instead.

    archive

    archive source

    returns

    the enumeration of ArchiveFormat

  11. def get7ZEntriesFrom(root: Path): Seq[CompressionEntry7Z]

    Generates a CompressionEntry7Z from given file or directory path.

    Generates a CompressionEntry7Z from given file or directory path.

    root

    a file or directory path

    returns

    archive entries representing given file(s), with order in Seq unknown.

  12. def getBZip2EntryFrom(f: Path): CompressionEntryBZip2

    Generates a CompressionEntryBZip2 from given file path.

    Generates a CompressionEntryBZip2 from given file path.

    f

    a file path

    returns

    archive entry representing given file

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def getGZipEntryFrom(f: Path): CompressionEntryGZip

    Generates a CompressionEntryGZip from given file path.

    Generates a CompressionEntryGZip from given file path.

    f

    a file path

    returns

    archive entry representing given file

  15. def getTarEntriesFrom(root: Path): Seq[CompressionEntryTar]

    Generates a CompressionEntryTar from given file or directory path.

    Generates a CompressionEntryTar from given file or directory path.

    root

    a file or directory path

    returns

    archive entries representing given file(s), with order in Seq unknown.

  16. def getZipEntriesFrom(root: Path): Seq[CompressionEntryZip]

    Generates a CompressionEntryZip from given file or directory path.

    Generates a CompressionEntryZip from given file or directory path.

    root

    a file or directory path

    returns

    archive entries representing given file(s), with order in Seq unknown.

  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped