Class XJmfZipPackage


  • public class XJmfZipPackage
    extends java.lang.Object
    This class provides functionality all about packaging.
    • Method Detail

      • listFiles

        public java.util.Set<URI> listFiles()
        Returns list of all files.
        Returns:
        Set of file URIs.
      • getFile

        public byte[] getFile​(java.lang.String uri)
                       throws java.net.URISyntaxException
        Returns a file as byte array.
        Parameters:
        uri - The uri as string.
        Returns:
        The file as byte array.
        Throws:
        java.net.URISyntaxException
      • getFile

        public byte[] getFile​(URI uri)
        Returns a file as byte array.
        Parameters:
        uri - The uri object.
        Returns:
        The file as byte array.
      • packageFiles

        public byte[] packageFiles()
                            throws java.io.IOException
        Packages files to a zip archive.
        Returns:
        The zip packaged files as byte array.
        Throws:
        java.io.IOException