public abstract class TextDumpProvider extends Object implements DumpProvider
| Modifier | Constructor and Description |
|---|---|
protected |
TextDumpProvider(String name)
Creates new dump provider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createDump(DumpDestination destination)
Create dump in given entry.
|
protected abstract void |
writeDump(OutputStreamWriter outputStreamWriter)
This method should create output.
|
protected TextDumpProvider(String name)
name - Name of the file.public final void createDump(DumpDestination destination) throws Exception
createDump in interface DumpProviderdestination - The destination where to create the dump.Exception - If the dump creation fails.protected abstract void writeDump(OutputStreamWriter outputStreamWriter) throws Exception
outputStreamWriter - Stream which points to file specified in constructor.Exception - If any problem occur.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.