public class RtfTemplate
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static RtfTemplate |
getInstance()
Singelton.
|
void |
setTemplateFilePath(java.lang.String templateFilePath)
Set the template file and adjust tha path separator
|
void |
writeTemplate(RtfHeader header)
Write the rtf template
|
public static RtfTemplate getInstance()
public void setTemplateFilePath(java.lang.String templateFilePath) throws java.io.IOException
templateFilePath
- The full path of the templatejava.io.IOException
public void writeTemplate(RtfHeader header) throws java.io.IOException
header
- Rtf header is the parentjava.io.IOException
- On write error