public class GMFFExportFile
extends java.lang.Object
Constructor and Description |
---|
GMFFExportFile(GMFFFolder exportFolder,
java.lang.String exportFileName,
java.lang.String charsetEncoding,
java.lang.String exportType,
boolean append)
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAbsolutePath()
Returns the absolute pathname of the GMFFExportFile
|
void |
writeFileContents(java.lang.StringBuilder exportBuffer)
Writes the export buffer and closes the file.
|
public GMFFExportFile(GMFFFolder exportFolder, java.lang.String exportFileName, java.lang.String charsetEncoding, java.lang.String exportType, boolean append) throws GMFFException
exportFolder
- where output files writtenexportFileName
- Output File Name.charsetEncoding
- Charset Encoding Name (see doc).exportType
- Export Type (e.g. "html" or "althtml")append
- true only if open in append modeGMFFException
- if Export File is null or empty, or not a writeable
file, or if there is a file security error, or if
charsetEncoding name is null or empty.public void writeFileContents(java.lang.StringBuilder exportBuffer) throws GMFFException
exportBuffer
- text to be written out.GMFFException
- if I/O exception, security exception or if the
charsetEncoding name is not supported.public java.lang.String getAbsolutePath()