Class Factory


  • public class Factory
    extends java.lang.Object
    Creates facades for transparent usage of archive files, that is jars and directories.
    • Method Detail

      • newArchive

        public static Archive newArchive​(java.io.File archive)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • newStreamProvider

        public static StreamProvider newStreamProvider​(java.io.File archive)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • newArchiveWriter

        public static ArchiveWriter newArchiveWriter​(java.io.File archive,
                                                     java.util.jar.Manifest manifest)
                                              throws java.io.IOException
        Throws:
        java.io.IOException