Class MultiReleaseJarFile.VersionedJarEntry

java.lang.Object
org.eclipse.jetty.util.MultiReleaseJarFile.VersionedJarEntry
Enclosing class:
MultiReleaseJarFile

public class MultiReleaseJarFile.VersionedJarEntry extends Object
A versioned Jar entry
  • Method Details

    • getName

      public String getName()
      Returns:
      the unversioned name of the resource
    • getNameInJar

      public String getNameInJar()
      Returns:
      The name of the resource within the jar, which could be versioned
    • getVersion

      public int getVersion()
      Returns:
      The version of the resource or 0 for a base version
    • isVersioned

      public boolean isVersioned()
      Returns:
      True iff the entry is not from the base version
    • isDirectory

      public boolean isDirectory()
      Returns:
      True iff the entry is a directory
    • getInputStream

      public InputStream getInputStream() throws IOException
      Returns:
      An input stream of the content of the versioned entry.
      Throws:
      IOException - if something goes wrong!
    • toString

      public String toString()
      Overrides:
      toString in class Object