public class DirectoryDumpDestination extends Object implements DumpDestination
| Constructor and Description |
|---|
DirectoryDumpDestination(File file) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
add(String name)
Create new entry in dump destination.
|
void |
save()
Complete creation of the dump.
|
String |
toString() |
public DirectoryDumpDestination(File file)
public OutputStream add(String name) throws Exception
DumpDestinationadd in interface DumpDestinationname - Name of file in destination.Exception - When entry cannot be added.public void save()
throws Exception
DumpDestinationsave in interface DumpDestinationException - If the save operation fails.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.