public class ManifestAttributes
extends java.lang.Object
This class does the best effort to find the correct manifest in the classpath.
| Constructor and Description |
|---|
ManifestAttributes(java.lang.Class<?> mainClass) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttribute(java.lang.String name) |
protected java.io.InputStream |
openManifestStream(java.security.ProtectionDomain protectionDomain) |
java.lang.String |
toString() |
public java.lang.String getAttribute(java.lang.String name)
protected java.io.InputStream openManifestStream(java.security.ProtectionDomain protectionDomain)
throws java.net.MalformedURLException,
java.io.IOException
java.net.MalformedURLExceptionjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2016–2022 Expedia Group. All rights reserved.