Class JarSource

    • Constructor Summary

      Constructors 
      Constructor Description
      JarSource​(java.io.File file, Artefact artefact)  
      JarSource​(java.util.jar.JarFile jar, Artefact artefact)  
    • Constructor Detail

      • JarSource

        public JarSource​(java.util.jar.JarFile jar,
                         Artefact artefact)
      • JarSource

        public JarSource​(java.io.File file,
                         Artefact artefact)
                  throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • openFile

        public java.io.InputStream openFile​(java.lang.String path)
                                     throws java.io.IOException
        Specified by:
        openFile in class ArtefactSource
        Throws:
        java.io.IOException
      • containsFile

        public boolean containsFile​(java.lang.String path)
                             throws java.io.IOException
        Specified by:
        containsFile in class ArtefactSource
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in class ArtefactSource
        Throws:
        java.io.IOException