Package org.cip4.jdflib.util
Class DumpDir
java.lang.Object
org.cip4.jdflib.util.DumpDir
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDir()returns the base directory as a FileDeprecated.- use 2 parameter version; default= newFile(header,null);create a new File in this dumpnewFileFromStream(String header, InputStream is) Deprecated.use the 3 parameter versionnewFileFromStream(String header, InputStream is, String ext) create a new File in this dump and fill it from istoString()
-
Field Details
-
log
protected final org.apache.commons.logging.Log log -
quiet
public boolean quietif true, no printouts
-
-
Constructor Details
-
DumpDir
create a dumpdir with dir as the root- Parameters:
dir-
-
-
Method Details
-
getDir
returns the base directory as a File- Returns:
-
newFile
Deprecated.- use 2 parameter version; default= newFile(header,null);create a new File in this dump- Parameters:
header- the header to print prior to the xml- Returns:
-
newFile
create a new File in this dump- Parameters:
header- the header to print prior to the xmlext- the additional extension to add prior to .tmp- Returns:
-
newFileFromStream
Deprecated.use the 3 parameter versioncreate a new File in this dump and fill it from is- Parameters:
header- the header to print prior to the streamis- the input stream to fill- Returns:
- the new file
-
newFileFromStream
create a new File in this dump and fill it from is- Parameters:
header- the header to print prior to the streamis- the input stream to fillext- the additional extension- Returns:
- the new file
-
toString
-