Package gnu.text

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

Interface Summary

Printable
SourceLocator

Class Summary

CaseConvertFormat
Char A wrapper for characters.
CompoundFormat
EnglishIntegerFormat
FilePathA wrapper around a java.io.File that extends Path.
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).
LineInputStreamReaderA LineBufferedReader that wraps an InputStream.
LiteralFormatGet the index'th parameter for the conversion specification specs[speci].
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.
PathA generalized path/location, including File and URIs.
PrettyWriterA pretty printer.
QueueReaderAn InPort that reads from a queue.
ReportFormat
ResourceStreamHandlerHandler for "class-resource:" URLs.
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.
URIPathA Path that wraps a URI.
URLPathA Path that wraps a URL.
WriterManagerManages a collection of Writers, handling automatic closing.
Supports various utility classes for formatting, parsing, and manipulating text (strings). It also contains some general IO-related classes.

This package should probably be renamed to something.io.

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.