Class LongEncoder

java.lang.Object
org.apache.wicket.util.LongEncoder

public class LongEncoder extends Object
Encodes long values into the specified alphabet. Encoding is useful when long values need to be represented in their string form and shorter values are preferred; by using alphabets of length greater than ten shorter values can be obtained. For example, to encode values into their hexadecimal representations the 0123456789ABCDEF- can be used. Long values can be shortened even further by using longer alphabets. The last character in the alphabet is used as the negative sign.
Author:
igor