Class JarEntryAnnotationFileResource

    • Constructor Summary

      Constructors 
      Constructor Description
      JarEntryAnnotationFileResource​(java.util.jar.JarFile file, java.util.jar.JarEntry entry)
      Constructs a AnnotationFileResource for the specified entry in the specified JAR file.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns a user-friendly description of the resource (e.g.
      java.io.InputStream getInputStream()
      Returns a stream for reading the contents of the resource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JarEntryAnnotationFileResource

        public JarEntryAnnotationFileResource​(java.util.jar.JarFile file,
                                              java.util.jar.JarEntry entry)
        Constructs a AnnotationFileResource for the specified entry in the specified JAR file.
        Parameters:
        file - the JAR file
        entry - the JAR entry
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: AnnotationFileResource
        Returns a user-friendly description of the resource (e.g. a filesystem path).
        Specified by:
        getDescription in interface AnnotationFileResource
        Returns:
        a description of the resource
      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws java.io.IOException
        Description copied from interface: AnnotationFileResource
        Returns a stream for reading the contents of the resource.
        Specified by:
        getInputStream in interface AnnotationFileResource
        Throws:
        java.io.IOException