Class BundleProtectionDomain.BundleInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    BundleProtectionDomain

    private static final class BundleProtectionDomain.BundleInputStream
    extends java.io.InputStream
    • Field Detail

      • m_root

        private final Content m_root
      • m_content

        private final java.util.Enumeration m_content
      • m_buffer

        private java.io.ByteArrayInputStream m_buffer
      • m_output

        private java.util.jar.JarOutputStream m_output
    • Constructor Detail

      • BundleInputStream

        public BundleInputStream​(Content root)
                          throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • read

        public int read()
                 throws java.io.IOException
        Specified by:
        read in class java.io.InputStream
        Throws:
        java.io.IOException
      • readNext

        private void readNext​(java.lang.String path)
                       throws java.io.IOException
        Throws:
        java.io.IOException