|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.util.io.LongAdaptor
public class LongAdaptor
Squeezes a Long.
| Constructor Summary | |
|---|---|
LongAdaptor()
|
|
| Method Summary | |
|---|---|
Class |
getDataClass()
Returns the class (or interface) which can be encoded by this adaptor. |
String |
getPrefix()
Returns one or more characters, each of which will be a prefix for this adaptor. |
String |
squeeze(DataSqueezer squeezer,
Object data)
Invoked toString() on data (which is type Long),
and prefixs the result. |
Object |
unsqueeze(DataSqueezer squeezer,
String string)
Constructs a Long from the string, after stripping the prefix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LongAdaptor()
| Method Detail |
|---|
public String getPrefix()
SqueezeAdaptor
getPrefix in interface SqueezeAdaptorpublic Class getDataClass()
SqueezeAdaptor
getDataClass in interface SqueezeAdaptor
public String squeeze(DataSqueezer squeezer,
Object data)
toString() on data (which is type Long),
and prefixs the result.
squeeze in interface SqueezeAdaptor
public Object unsqueeze(DataSqueezer squeezer,
String string)
Long from the string, after stripping the prefix.
unsqueeze in interface SqueezeAdaptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||