Packages

object ZipHelper

Module with functions associated with processing zip files.

See also

http://stackoverflow.com/questions/17888365/file-permissions-are-not-being-preserved-while-after-zip

http://stackoverflow.com/questions/3450250/is-it-possible-to-create-a-script-to-save-and-restore-permissions

http://stackoverflow.com/questions/1050560/maintain-file-permissions-when-extracting-from-a-zip-file-using-jdk-5-api

http://docs.oracle.com/javase/7/docs/technotes/guides/io/fsp/zipfilesystemprovider.html

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

Type Members

  1. case class FileMapping(file: sbt.File, name: String, unixMode: Option[Int] = None) extends Product with Serializable

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( ... ) @native()
  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[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. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  20. def withZipFilesystem(zipFile: sbt.File, overwrite: Boolean = true)(f: (FileSystem) ⇒ Unit): Unit

    Opens a zip filesystem and creates the file if necessary.

    Opens a zip filesystem and creates the file if necessary.

    Note: This will override an existing zipFile if existent!

    See also

    http://stackoverflow.com/questions/9873845/java-7-zip-file-system-provider-doesnt-seem-to-accept-spaces-in-uri

  21. def zip(sources: Traversable[(sbt.File, String)], outputZip: sbt.File): Unit

    Creates a zip file with the apache commons compressor library.

    Creates a zip file with the apache commons compressor library.

    Note: This is known to have some odd issues on macOS whereby executable permissions are not actually discovered, even though the Info-Zip headers exist and work on many variants of linux. Yay Apple.

    sources

    The files to include in the zip file.

    outputZip

    The location of the output file.

  22. def zipNIO(sources: Traversable[(sbt.File, String)], outputZip: sbt.File): Unit

    Creates a zip file attempting to give files the appropriate unix permissions using Java 7 APIs.

    Creates a zip file attempting to give files the appropriate unix permissions using Java 7 APIs.

    sources

    The files to include in the zip file.

    outputZip

    The location of the output file.

  23. def zipNative(sources: Traversable[(sbt.File, String)], outputZip: sbt.File): Unit

    Creates a zip file attempting to give files the appropriate unix permissions using Java 6 APIs.

    Creates a zip file attempting to give files the appropriate unix permissions using Java 6 APIs.

    sources

    The files to include in the zip file.

    outputZip

    The location of the output file.

Inherited from AnyRef

Inherited from Any

Ungrouped