|
||||||||||
| 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(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 |
Enumeration |
entries()
|
Enumeration<String> |
entries(String prefix)
|
boolean |
exists()
|
boolean |
exists(String name)
|
long |
getArchiveSize()
|
String |
getArchiveUri()
|
Collection<String> |
getDirectories()
|
InputStream |
getEntry(String name)
|
long |
getEntrySize(String name)
|
Manifest |
getManifest()
|
String |
getName()
|
ReadableArchive |
getSubArchive(String name)
create or obtain a subarchive within this abstraction. |
URI |
getURI()
|
boolean |
isDirectory(String name)
|
void |
open(URI uri)
|
boolean |
renameTo(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 IOException
IOException
public void closeEntry(ReadableArchive os)
throws IOException
the - output stream to close
IOException
public void closeEntry(OutputStream os)
throws IOException
the - output stream to close
IOExceptionpublic boolean delete()
public Enumeration entries()
public Enumeration<String> entries(String prefix)
public Collection<String> getDirectories()
throws IOException
IOExceptionpublic boolean isDirectory(String name)
public String getName()
public boolean exists()
public boolean exists(String name)
throws IOException
IOExceptionpublic String getArchiveUri()
public long getEntrySize(String name)
public void open(URI uri)
throws IOException
IOException
public long getArchiveSize()
throws NullPointerException,
SecurityException
NullPointerException
SecurityException
public ReadableArchive getSubArchive(String name)
throws IOException
the - name of the subarchive.
IOException
public InputStream getEntry(String name)
throws IOException
the - entry name
IOException
public Manifest getManifest()
throws IOException
IOExceptionpublic boolean renameTo(String name)
name - the archive namepublic boolean supportsElementsOverwriting()
public void closeEntry()
throws IOException
IOExceptionpublic URI getURI()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||