public class DumpDir
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
boolean |
quiet
if true, no printouts
|
| Constructor and Description |
|---|
DumpDir(java.io.File dir)
create a dumpdir with dir as the root
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getDir()
returns the base directory as a File
|
java.io.File |
newFile(java.lang.String header)
Deprecated.
- use 2 parameter version; default= newFile(header,null);
|
java.io.File |
newFile(java.lang.String header,
java.lang.String ext)
create a new File in this dump
|
java.io.File |
newFileFromStream(java.lang.String header,
java.io.InputStream is)
Deprecated.
use the 3 parameter version
|
java.io.File |
newFileFromStream(java.lang.String header,
java.io.InputStream is,
java.lang.String ext)
create a new File in this dump and fill it from is
|
java.lang.String |
toString() |
protected final org.apache.commons.logging.Log log
public boolean quiet
public DumpDir(java.io.File dir)
dir - public java.io.File getDir()
@Deprecated public java.io.File newFile(java.lang.String header)
header - the header to print prior to the xmlpublic java.io.File newFile(java.lang.String header,
java.lang.String ext)
header - the header to print prior to the xmlext - the additional extension to add prior to .tmp@Deprecated
public java.io.File newFileFromStream(java.lang.String header,
java.io.InputStream is)
header - the header to print prior to the streamis - the input stream to fillpublic java.io.File newFileFromStream(java.lang.String header,
java.io.InputStream is,
java.lang.String ext)
header - the header to print prior to the streamis - the input stream to fillext - the additional extensionpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()