uk.org.ponder.stringutil |
|
Java Source File Name | Type | Comment |
ByteToCharBase64.java | Class | This class encodes supplied byte data as characters in a modified Base64 system. |
ByteToCharConverter.java | Class | This abstract class forms part of the fast and better instrumented
uk.org.ponder.streamutil.DirectInputStreamReader architecture. |
ByteToCharUTF8.java | Class | The Sun "ByteToCharUTF8" gives neither control nor
feedback from the UTF8 conversion process.
The following URLs:
http://www-106.ibm.com/developerworks/library/utfencodingforms/
http://www.cl.cam.ac.uk/~mgk25/unicode.html
are invaluable in understanding what is going on here.
Note these two are actually in disagreement - IBM agrees with this file,
and says that max UTF-8 is 4 bytes, whereas Kuhn goes up to 6. |
CharParser.java | Class | A useful class which quickly parses numbers from character arrays rather than
from strings as the slovenly Java libraries do. |
CharReceiver.java | Interface | |
CharToByteBase64.java | Class | A utility class to decode Base64-encoded character strings back into
byte arrays. |
CharToByteUTF8.java | Class | |
CharWrap.java | Class | CharWrap provides the basic functionality of the Java
StringBuffer class, only without the overhead of synchonised
methods and with the ability (and corresponding danger) of direct access to
the underlying array of characters.
CharWrap also integrates with the StringVat to
map a string to an integer StringVat ID without causing an
extra object creation.
At some point either the functionality needs to be added to "pre-intern"
String objects from their CharWrap
counterparts, or else String s should be removed completely
from critical pathways through the code (e.g. |
CharWrapVector.java | Class | This class allows chunk-wise manipulation of character data, in the form of
a vector of CharWrap objects. |
EncodingErrorHandler.java | Interface | This is an interface used by the advanced InputStreamReader architecture
(uk.org.ponder.streamutil.DirectInputStreamReader and ByteToCharUTF8) to
allow far more authoritative and precise reporting of errors encountered
while converting byte-encoded data back into characters. |
FilenameUtil.java | Class | |
FormatStringBuffer.java | Class | A class for formatting output similar to the C printf command.
Some features provided by ANSI C-standard conformant printfs
are not supported because of language constraints.
Supported conversion specifiers are: 'c', 'd', 'e', 'E', 'f', 'g'
(works like 'f'), 'i', 'o', 's', 'x' and 'X'.
Supported conversion flags are: '#', '0', '-', ' ' (a space) and '+'.
Support for conversion flag '*' is under development.
author: Antti S. |
Pluralizer.java | Class | A standalone Pluralizer that deals with most names that might arise
as entity names. |
StringGetter.java | Interface | A holder for a single String value, designed for use in proxying situations
where the finality of String is a problem. |
StringHolder.java | Class | Class holding a single String value, accessible in practically every
possible way. |
StringList.java | Class | A convenience wrapper for a type-safe list of String objects. |
StringSet.java | Class | A convenience wrapper for a typesafe Set of String objects. |
StringUtil.java | Class | |
StringVat.java | Class | This class was intended to provide an atom table of strings represented
as (relatively) opaque integer indices. |
URLEncoder.java | Class | A light wrapper for java.net.URLEncoder . |
URLUtil.java | Class | |
WordParseCallback.java | Interface | An interface used by a parser to report "words" it discovers. |