|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.dbreplicator.replication
Class EncoderDecoder
java.lang.Objectorg.dbreplicator.replication.EncoderDecoder
public class EncoderDecoder
- extends java.lang.Object
Title:
Description:
Copyright: Copyright (c) 2005
Company:
| Constructor Summary | |
|---|---|
EncoderDecoder()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
decode(java.lang.String str)
This method convert the UNICODE value to ASCII For example 'a' to 'a' |
static java.lang.String |
decodeNew(java.lang.String str)
|
static java.lang.String |
escapeUnicodeString1(java.lang.String str,
boolean escapeAscii)
|
static java.lang.String |
escapeUnicodeStringOLD(java.lang.String str,
boolean escapeAscii)
This method convert the ASCII value to UNICODE escape. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
EncoderDecoder
public EncoderDecoder()
| Method Detail |
|---|
escapeUnicodeStringOLD
public static java.lang.String escapeUnicodeStringOLD(java.lang.String str, boolean escapeAscii)
- This method convert the ASCII value to UNICODE escape.
The uppercase letters 'A' through 'Z' ('A' through 'Z'),
The lowercase letters 'a' through 'z' ('a' through 'z'),
The digits '0' through '9' ('0' through '9'),
The dash character '-' ('-', HYPHEN-MINUS),
The colon character ':' (':', COLON), and
The underscore character '_' ('_', LOW LINE).
- Parameters:
str-escapeAscii-- Returns:
- String
escapeUnicodeString1
public static java.lang.String escapeUnicodeString1(java.lang.String str, boolean escapeAscii)
decode
public static java.lang.String decode(java.lang.String str)
- This method convert the UNICODE value to ASCII
For example 'a' to 'a'
- Parameters:
str-- Returns:
- String
decodeNew
public static java.lang.String decodeNew(java.lang.String str)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.dbreplicator.replication.EncoderDecoder

