Interface | Description |
---|---|
SqueezeAdaptor |
Interface which defines a class used to convert data for a specific Java type into a String
format (squeeze it), or convert from a String back into a Java type (unsqueeze).
|
Class | Description |
---|---|
BinaryDumpOutputStream |
A kind of super-formatter.
|
BooleanAdaptor |
Squeezes a
Boolean . |
ByteAdaptor |
Squeezes a
Byte . |
CharacterAdaptor |
Squeezes a Character.
|
ComponentAddressAdaptor |
Squeezes a org.apache.tapestry.ComponentAddress.
|
DataSqueezerImpl |
A class used to convert arbitrary objects to Strings and back.
|
DataSqueezerUtil |
Utility methods used when testing code that uses a
DataSqueezer . |
DoubleAdaptor |
Squeezes a
Double . |
FloatAdaptor |
Squeezes a
Float . |
IntegerAdaptor |
Squeezes a
Integer . |
LongAdaptor |
Squeezes a
Long . |
ResolvingObjectInputStream |
Specialized subclass of
ObjectInputStream that knows how to resolve classes with
a non-default class loader (represented by an instance of
ClassResolver ). |
SerializableAdaptor |
The most complicated of the adaptors, this one takes an arbitrary serializable object, serializes
it to binary (possibly compressing the stream along the way), and encodes it in a Base64
encoding.
|
ShortAdaptor |
Squeezes a
Short . |
StringAdaptor |
Squeezes a String (which is pretty simple, most of the time).
|
TeeOutputStream |
An output stream that copies bytes pushed through it to two other output streams.
|
Some interesting I/O classes. BinaryDumpOutputStream
formats a stream of bytes into a human readable presentation, much like
the Unix command line tool od
.
org.apache.tapestry.util.io.DataSqueezer
is used to squeeze and unsqueeze
basic scalar types, Strings and serializable objects into a String format. The eventual
purpose is to safely encode information into URLs or as HTTP Cookies.