Packages

class Unzipper extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Unzipper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Unzipper()

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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. def unzip(inputStream: InputStream, targetDir: File, selectedFiles: List[(String, File)], fileSelector: Option[(String) ⇒ Boolean], placeholderReplacer: Option[PlaceholderConfig], archive: Option[String]): Try[Seq[File]]

    Extract files from a ZIP archive.

    Extract files from a ZIP archive. If the list of selectedFiles is empty and no fileSelector was given, than all files will be extracted.

    inputStream

    The stream providing a ZIP archive.

    targetDir

    The base directory, where the extracted files will be stored.

    selectedFiles

    A list of name-file pairs denoting which archive content should be extracted into which file. The name of the path inside the archive. The file will be the place that file will be extracted to. If the file value is null, that the file will be extracted into the targetDir without any sub directory created.

    fileSelector

    A filter used to decide if a file in the archive should be extracted or not. fileSelector is not able to exclude files already selected with selectedFiles. If a selector is given ([scala.Some]), than only those files will be extracted, for which the selector returns true.

    archive

    The optional target path of the archive.

    returns

    A Seq of all extracted files.

  18. def unzip(archive: File, targetDir: File, selectedFiles: List[(String, File)], fileSelector: Option[(String) ⇒ Boolean], placeholderReplacer: Option[PlaceholderConfig]): Try[Seq[File]]

    Extract files from a ZIP archive.

    Extract files from a ZIP archive. If the list of selectedFiles is empty and no fileSelector was given, than all files will be extracted.

    archive

    The file denoting a ZIP archive.

    targetDir

    The base directory, where the extracted files will be stored.

    selectedFiles

    A list of name-file pairs denoting which archive content should be extracted into which file. The name of the path inside the archive. The file will be the place that file will be extracted to. If the file value is null, that the file will be extracted into the targetDir without any sub directory created.

    fileSelector

    A filter used to decide if a file in the archive should be extracted or not. fileSelector is not able to exclude files already selected with selectedFiles. If a selector is given ([scala.Some]), than only those files will be extracted, for which the selector returns true.

    returns

    A Seq of all extracted files.

  19. def unzip(archive: File, targetDir: File, _selectedFiles: List[(String, File)]): Try[Seq[File]]
  20. def unzip(archive: File, targetDir: File, selectedFiles: String*): Try[Seq[File]]
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped