|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deploy.shared.AbstractReadableArchive
org.glassfish.deployapi.config.ConfigBeanArchive
public class ConfigBeanArchive
This class act as an ReadableArchive implementation, delegating all possible APIs to the JSR88 DeployObject object.
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deploy.shared.AbstractReadableArchive |
|---|
extraData, parentArchive |
| Constructor Summary | |
|---|---|
ConfigBeanArchive(DeployableObject deployObject)
Creates a new instance of ConfigBeanArchive |
|
| Method Summary | |
|---|---|
void |
close()
close the abstract archive |
void |
closeEntry()
|
void |
closeEntry(java.io.OutputStream os)
close a previously returned @see java.io.OutputStream returned by an addEntry call |
void |
closeEntry(ReadableArchive os)
close a previously returned @see java.io.OutputStream returned by an addEntry call |
boolean |
delete()
delete the archive |
java.util.Enumeration |
entries()
|
java.util.Enumeration<java.lang.String> |
entries(java.lang.String prefix)
|
boolean |
exists()
|
boolean |
exists(java.lang.String name)
|
long |
getArchiveSize()
|
java.lang.String |
getArchiveUri()
|
java.util.Collection<java.lang.String> |
getDirectories()
|
java.io.InputStream |
getEntry(java.lang.String name)
|
long |
getEntrySize(java.lang.String name)
|
java.util.jar.Manifest |
getManifest()
|
java.lang.String |
getName()
|
ReadableArchive |
getSubArchive(java.lang.String name)
create or obtain a subarchive within this abstraction. |
java.net.URI |
getURI()
|
boolean |
isDirectory(java.lang.String name)
|
void |
open(java.net.URI uri)
|
boolean |
renameTo(java.lang.String name)
rename the archive |
boolean |
supportsElementsOverwriting()
|
| Methods inherited from class com.sun.enterprise.deploy.shared.AbstractReadableArchive |
|---|
getExtraData, getParentArchive, removeExtraData, setExtraData, setParentArchive |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigBeanArchive(DeployableObject deployObject)
| Method Detail |
|---|
public void close()
throws java.io.IOException
java.io.IOException
public void closeEntry(ReadableArchive os)
throws java.io.IOException
the - output stream to close
java.io.IOException
public void closeEntry(java.io.OutputStream os)
throws java.io.IOException
the - output stream to close
java.io.IOExceptionpublic boolean delete()
public java.util.Enumeration entries()
public java.util.Enumeration<java.lang.String> entries(java.lang.String prefix)
public java.util.Collection<java.lang.String> getDirectories()
throws java.io.IOException
java.io.IOExceptionpublic boolean isDirectory(java.lang.String name)
public java.lang.String getName()
public boolean exists()
public boolean exists(java.lang.String name)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getArchiveUri()
public long getEntrySize(java.lang.String name)
public void open(java.net.URI uri)
throws java.io.IOException
java.io.IOException
public long getArchiveSize()
throws java.lang.NullPointerException,
java.lang.SecurityException
java.lang.NullPointerException
java.lang.SecurityException
public ReadableArchive getSubArchive(java.lang.String name)
throws java.io.IOException
the - name of the subarchive.
java.io.IOException
public java.io.InputStream getEntry(java.lang.String name)
throws java.io.IOException
the - entry name
java.io.IOException
public java.util.jar.Manifest getManifest()
throws java.io.IOException
java.io.IOExceptionpublic boolean renameTo(java.lang.String name)
name - the archive namepublic boolean supportsElementsOverwriting()
public void closeEntry()
throws java.io.IOException
java.io.IOExceptionpublic java.net.URI getURI()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||