public class JarDescriptor extends Object
| Constructor and Description |
|---|
JarDescriptor(File file)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the file.
|
File |
getFile()
Returns the file.
|
JarFile |
getJarFile()
Returns the jarFile.
|
Manifest |
getManifest()
Returns the manifest.
|
String |
getUrlPrefix()
Returns the URL prefix for the JAR.
|
protected void |
setFile(File file)
Sets the file.
|
protected void |
setJarFile(JarFile jarFile)
Sets the jarFile.
|
public JarDescriptor(File file) throws IOException
IOExceptionpublic JarFile getJarFile()
protected void setJarFile(JarFile jarFile)
jarFile - the jarFile to setpublic File getFile()
protected void setFile(File file)
file - the file to setpublic Manifest getManifest() throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic String getUrlPrefix() throws IOException
IOExceptionCopyright © 2014. All rights reserved.