Package org.eclipse.jetty.util
Class MultiReleaseJarFile.VersionedJarEntry
- java.lang.Object
-
- org.eclipse.jetty.util.MultiReleaseJarFile.VersionedJarEntry
-
- Enclosing class:
- MultiReleaseJarFile
@Deprecated(since="2021-05-27") public class MultiReleaseJarFile.VersionedJarEntry extends Object
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.A versioned Jar entry
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description InputStream
getInputStream()
Deprecated.String
getName()
Deprecated.String
getNameInJar()
Deprecated.int
getVersion()
Deprecated.boolean
isDirectory()
Deprecated.boolean
isVersioned()
Deprecated.String
toString()
Deprecated.
-
-
-
Method Detail
-
getName
public String getName()
Deprecated.- Returns:
- the unversioned name of the resource
-
getNameInJar
public String getNameInJar()
Deprecated.- Returns:
- The name of the resource within the jar, which could be versioned
-
getVersion
public int getVersion()
Deprecated.- Returns:
- The version of the resource or 0 for a base version
-
isVersioned
public boolean isVersioned()
Deprecated.- Returns:
- True iff the entry is not from the base version
-
isDirectory
public boolean isDirectory()
Deprecated.- Returns:
- True iff the entry is a directory
-
getInputStream
public InputStream getInputStream() throws IOException
Deprecated.- Returns:
- An input stream of the content of the versioned entry.
- Throws:
IOException
- if something goes wrong!
-
-