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 {@code java.io.File} that extends {@code 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 {@code "class-resource:"} URLs. |
| RomanIntegerFormat | |
| SourceError | Represents an error message from processing a "source" file. |
| SourceMessages | A collection of (zero or more) SourceErrors. |
| SyntaxException | Used to signal a non-recoverable (fatal) syntax error. |
| URIPath | A Path that wraps a URI. |
| URLPath | A Path that wraps a URL. |
| WriterManager | Manages 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.
gnu.text package is currently distributed as part of
Kawa,
though it can be used independent of the rest of Kawa.