|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.util.text.AlphaCodec
public final class AlphaCodec
Alphanumeric codec, this method converts an arbitrary String of characters into a String of alphanumeric characters plus '_' and '-'. It is not meant to be efficient in size, but to provide a practical way to form valid file identifiers from strings that may include special characters.
| Constructor Summary | |
|---|---|
AlphaCodec()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getDecoded(java.lang.String str)
Perform the decoding of the given String. |
static java.lang.String |
getEncoded(java.lang.String str)
Perform the encoding to alphanumeric. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlphaCodec()
| Method Detail |
|---|
public static java.lang.String getEncoded(java.lang.String str)
public static java.lang.String getDecoded(java.lang.String str)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||