|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.ee.deploy.impl.archive.JarArchiveImpl
public class JarArchiveImpl
Creates wrapper around jar file.
| Constructor Summary | |
|---|---|
protected |
JarArchiveImpl(java.io.File file)
Creates new instance of an EZBArchive for a jar file. |
| Method Summary | |
|---|---|
boolean |
close()
Close the underlying Resource. |
boolean |
equals(java.lang.Object o)
Is that the given object is equals to our instance. |
java.lang.String |
getName()
|
java.net.URL |
getResource(java.lang.String resourceName)
|
java.util.Iterator<java.net.URL> |
getResources()
|
java.util.Iterator<java.net.URL> |
getResources(java.lang.String resourceName)
|
java.net.URL |
getURL()
|
int |
hashCode()
Gets hashcode for this object. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected JarArchiveImpl(java.io.File file)
file - the given jar file.| Method Detail |
|---|
public java.lang.String getName()
getName in interface org.ow2.util.ee.deploy.api.archive.IArchivepublic boolean close()
close in interface org.ow2.util.ee.deploy.api.archive.IArchivetrue if the close was succesful,
false otherwise.
public java.net.URL getResource(java.lang.String resourceName)
throws org.ow2.util.ee.deploy.api.archive.ArchiveException
getResource in interface org.ow2.util.ee.deploy.api.archive.IArchiveresourceName - The resource name to be looked up.
org.ow2.util.ee.deploy.api.archive.ArchiveException - if method fails.
public java.util.Iterator<java.net.URL> getResources()
throws org.ow2.util.ee.deploy.api.archive.ArchiveException
getResources in interface org.ow2.util.ee.deploy.api.archive.IArchiveorg.ow2.util.ee.deploy.api.archive.ArchiveException - if method fails.
public java.util.Iterator<java.net.URL> getResources(java.lang.String resourceName)
throws org.ow2.util.ee.deploy.api.archive.ArchiveException
getResources in interface org.ow2.util.ee.deploy.api.archive.IArchiveresourceName - The resource name to be looked up.
org.ow2.util.ee.deploy.api.archive.ArchiveException - if method fails.
public java.net.URL getURL()
throws org.ow2.util.ee.deploy.api.archive.ArchiveException
getURL in interface org.ow2.util.ee.deploy.api.archive.IArchiveorg.ow2.util.ee.deploy.api.archive.ArchiveException - if method fails.public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to compare.
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||