|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.karaf.diagnostic.core.common.ZipDumpDestination
public class ZipDumpDestination
Class which packages dumps to ZIP archive.
Constructor Summary | |
---|---|
ZipDumpDestination(java.io.File file)
Creates new dump in given file (zip archive). |
|
ZipDumpDestination(java.io.File directory,
java.lang.String name)
Creates new dump in given directory. |
Method Summary | |
---|---|
java.io.OutputStream |
add(java.lang.String name)
Creates new entry in dump destination. |
void |
save()
Closes archive handle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZipDumpDestination(java.io.File directory, java.lang.String name)
directory
- Target directory.name
- Name of the archive.public ZipDumpDestination(java.io.File file)
file
- Destination file.Method Detail |
---|
public java.io.OutputStream add(java.lang.String name) throws Exception
add
in interface DumpDestination
name
- Name of file in destination.
Exception
- When entry cannot be added.public void save() throws Exception
save
in interface DumpDestination
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |