object Zipper
Companion object to the Zipper
class. You can only instantiate Zipper
objects via this companion.
- Alphabetic
- By Inheritance
- Zipper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
apply(paths: Array[(File, String)]): Try[Zipper]
Create a new empty
Zipper
object and fill it with the specified files.Create a new empty
Zipper
object and fill it with the specified files. This function is a convenience method; you can always create an emptyZipper
and fill it yourself.- paths
the list of (
File
, pathname) tuples to be added. In each tuple, theFile
element is the resource to be read and added; the pathname is the path to use in the zip or jar file.- returns
A
Success
with the filledZipper
, or aFailure
if one or more of the paths could not be added.
-
def
apply(files: Array[File], flatten: Boolean): Try[Zipper]
Create a new empty
Zipper
object and fill it with the specified files.Create a new empty
Zipper
object and fill it with the specified files. This function is a convenience method; you can always create an emptyZipper
and fill it yourself.- files
the list of
File
to add to theZipper
. The existence of these files isn't verified until the zip or jar file is written.- flatten
whether or not to flatten the paths.
- returns
A
Success
with the filledZipper
, or aFailure
if one or more of the paths could not be added.
-
def
apply(paths: Array[String], flatten: Boolean): Try[Zipper]
Create a new empty
Zipper
object and fill it with the specified files.Create a new empty
Zipper
object and fill it with the specified files. This function is a convenience method; you can always create an emptyZipper
and fill it yourself.- paths
the list of path names to add to the
Zipper
. The existence of these files isn't verified until the zip or jar file is written.- flatten
whether or not to flatten the paths.
- returns
A
Success
with the filledZipper
, or aFailure
if one or more of the paths could not be added.
-
def
apply(): Zipper
Create a new, empty
Zipper
.Create a new, empty
Zipper
.- returns
the new
Zipper
object.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
-
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( ... )