gnu.text

Class LiteralFormat

public class LiteralFormat extends ReportFormat

Constructor Summary
LiteralFormat(char[] text)
LiteralFormat(String text)
LiteralFormat(StringBuffer sbuf)
Method Summary
Stringcontent()
Return the text that would be printed by the format.
intformat(Object[] args, int start, Writer dst, FieldPosition fpos)
ObjectparseObject(String text, ParsePosition status)
StringtoString()

Constructor Detail

LiteralFormat

public LiteralFormat(char[] text)

LiteralFormat

public LiteralFormat(String text)

LiteralFormat

public LiteralFormat(StringBuffer sbuf)

Method Detail

content

public String content()
Return the text that would be printed by the format.

format

public int format(Object[] args, int start, Writer dst, FieldPosition fpos)

parseObject

public Object parseObject(String text, ParsePosition status)

toString

public String toString()