|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinstalltoolkit.wix.RtfGen
public class RtfGen
Helper class to generate a RTF File from lines of text by using the RTFEditorKit.
RTFEditorKit
Constructor Summary | |
---|---|
RtfGen()
|
Method Summary | |
---|---|
static void |
generate(java.io.File file,
java.util.List<java.lang.String> lines,
java.lang.String fontFamily,
int fontSize)
Generate RTF File |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RtfGen()
Method Detail |
---|
public static void generate(java.io.File file, java.util.List<java.lang.String> lines, java.lang.String fontFamily, int fontSize) throws java.io.IOException, javax.swing.text.BadLocationException
file
- Output filelines
- Text seperated as linesfontFamily
- Font family to usefontSize
- Font size to use
java.io.IOException
javax.swing.text.BadLocationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |