|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.karaf.diagnostic.core.common.TextDumpProvider
public abstract class TextDumpProvider
Base class for dump providers which writes text to destination.
Constructor Summary | |
---|---|
protected |
TextDumpProvider(java.lang.String name)
Creates new dump provider. |
Method Summary | |
---|---|
void |
createDump(DumpDestination destination)
Creates dump in given entry. |
protected abstract void |
writeDump(java.io.OutputStreamWriter outputStreamWriter)
This method should create output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TextDumpProvider(java.lang.String name)
name
- Name of the file.Method Detail |
---|
public final void createDump(DumpDestination destination) throws Exception
createDump
in interface DumpProvider
Exception
protected abstract void writeDump(java.io.OutputStreamWriter outputStreamWriter) throws Exception
outputStreamWriter
- Stream which points to file specified in constructor.
Exception
- If any problem occur.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |