Package gnu.text

Supports various utility classes for formatting, parsing, and manipulating text (strings).

Class Summary

CaseConvertFormatGet the index'th parameter for the conversion specification specs[speci].
Char A wrapper for characters.
CompoundFormat
EnglishIntegerFormat
FlushFormat
IntegerFormatHandle formatting of integers.
Lexer Framework for implementing lexical scanners and parsers.
LineBufferedReaderA LineNumberReader with some extra features: You can seek backwards to the start of the line preceding the current position (or the mark, if that has been set).
LiteralFormat
NullReaderA reader for an empty stream (similar to /dev/null).
OptionsMananges a table of named options, Can inherit from another table of "default" options.
PadFormatGiven a Format, pad the formatted result to a specified width.
PrettyWriterA pretty printer.
QueueReaderAn InPort that reads from a queue.
ReportFormat
RomanIntegerFormat
SourceErrorRepresents an error message from processing a "source" file.
SourceMessagesA collection of (zero or more) SourceErrors.
SyntaxExceptionUsed to signal a non-recoverable (fatal) syntax error.
WriterManagerManages a collection of Writers, handling automatic closing.
Supports various utility classes for formatting, parsing, and manipulating text (strings).

It is used by Kawa.

License

See the file COPYING.

Author

Per Bothner <per@bothner.com>

How to get it

The gnu.text package is currently distributed as part of Kawa, though it can be used independent of the rest of Kawa.

Bugs and patches

Send them to per@bothner.com, or to the Kawa mailing list.