gnu.text |
The gnu.text Package
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.
|
Java Source File Name | Type | Comment |
CaseConvertFormat.java | Class | |
Char.java | Class | A wrapper for characters. |
CompoundFormat.java | Class | |
EnglishIntegerFormat.java | Class | |
FilePath.java | Class | A wrapper around a
java.io.File that extends
Path . |
FlushFormat.java | Class | |
IntegerFormat.java | Class | Handle formatting of integers.
Used to implement the Common Lisp ~D (Decimal), ~X (Hexadecimal),
~O (Octal), ~B (Binary), and ~R (Radix) Common Lisp formats operators. |
Lexer.java | Class | Framework for implementing lexical scanners and parsers. |
LineBufferedReader.java | Class | 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).
You can use seek with a negative offset, or unread.
You can also use peek to look at the next character without moving.
The method getColumnNumber gives you the current column.
Provides a method that is called at the start of a line.
This is especially useful for interactive streams (e.g. |
LineInputStreamReader.java | Class | A LineBufferedReader that wraps an InputStream. |
LiteralFormat.java | Class | |
NullReader.java | Class | A reader for an empty stream (similar to /dev/null). |
Options.java | Class | Mananges a table of named options,
Can inherit from another table of "default" options. |
PadFormat.java | Class | Given a Format, pad the formatted result to a specified width. |
Path.java | Class | A generalized path/location, including File and URIs. |
PrettyWriter.java | Class | A pretty printer. |
Printable.java | Interface | |
QueueReader.java | Class | An InPort that reads from a queue. |
ReportFormat.java | Class | |
ResourceStreamHandler.java | Class | Handler for
"class-resource:" URLs. |
RomanIntegerFormat.java | Class | |
SourceError.java | Class | Represents an error message from processing a "source" file. |
SourceLocator.java | Interface | |
SourceMessages.java | Class | A collection of (zero or more) SourceErrors. |
SyntaxException.java | Class | Used to signal a non-recoverable (fatal) syntax error. |
URIPath.java | Class | A Path that wraps a URI. |
URLPath.java | Class | A Path that wraps a URL. |
WriterManager.java | Class | Manages a collection of Writers, handling automatic closing. |