Package gnu.text

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

See:
          Description

Interface Summary
Printable  
SourceLocator  
 

Class Summary
CaseConvertFormat  
Char A wrapper for characters.
CompoundFormat  
EnglishIntegerFormat  
FilePath A wrapper around a java.io.File that extends Path.
FlushFormat  
IntegerFormat Handle formatting of integers.
Lexer Framework for implementing lexical scanners and parsers.
LineBufferedReader A 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).
LineInputStreamReader A LineBufferedReader that wraps an InputStream.
LiteralFormat  
NullReader A reader for an empty stream (similar to /dev/null).
Options Mananges a table of named options, Can inherit from another table of "default" options.
PadFormat Given a Format, pad the formatted result to a specified width.
Path A generalized path/location, including File and URIs.
PrettyWriter A pretty printer.
QueueReader An InPort that reads from a queue.
ReportFormat  
ResourceStreamHandler Handler for "class-resource:" URLs.
RomanIntegerFormat  
SourceError Represents an error message from processing a "source" file.
SourceMessages A collection of (zero or more) SourceErrors.
URIPath A Path that wraps a URI.
URLPath A Path that wraps a URL.
WriterManager Manages a collection of Writers, handling automatic closing.
 

Exception Summary
SyntaxException Used to signal a non-recoverable (fatal) syntax error.
 

Package gnu.text Description

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.