Printer¶
-
public abstract class
Printer
¶ Abstract class for Text or HTML printer.
Constructors¶
Printer¶
-
protected
Printer
(OutputStream p)¶
Methods¶
hasAnchors¶
-
public boolean
hasAnchors
()¶ - Returns
true if the target language contains html-like anchors.
messageRef¶
-
public void
messageRef
(TapList<String> msgTty, boolean showMsg, int language)¶ Print a Tapenade message in the generated file.
- Parameters
msgTty – Tapenade error or warning message.
showMsg – true with tapenade option -msginfile.
language – used add comment delimiter before the message.
- Throws
IOException – if an output error is detected.
printText¶
toFile¶
-
protected OutputStreamWriter
toFile
()¶