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