class Unzipper extends AnyRef
- Alphabetic
- By Inheritance
- Unzipper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Unzipper()
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def copy(in: InputStream, out: OutputStream): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
selectedFilesis empty and nofileSelectorwas 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 thetargetDirwithout any sub directory created.- fileSelector
A filter used to decide if a file in the archive should be extracted or not.
fileSelectoris not able to exclude files already selected withselectedFiles. If a selector is given ([scala.Some]), than only those files will be extracted, for which the selector returnstrue.- returns
A
Seqof all extracted files.
- def unzip(archive: File, targetDir: File, _selectedFiles: List[(String, File)]): Try[Seq[File]]
- def unzip(archive: File, targetDir: File, selectedFiles: String*): Try[Seq[File]]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )