Package org.jabylon.properties.util
Class NativeToAsciiConverter
- java.lang.Object
-
- org.jabylon.properties.util.NativeToAsciiConverter
-
public class NativeToAsciiConverter extends Object
-
-
Constructor Summary
Constructors Constructor Description NativeToAsciiConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringconvertEncodedToUnicode(String str)Converts encoded \uxxxx to unicode chars and changes special saved chars to their original formsstatic StringconvertUnicodeToEncoded(String str, boolean lowerCase)Converts unicodes to encoded \uxxxx.
-
-
-
Method Detail
-
convertEncodedToUnicode
public static String convertEncodedToUnicode(String str)
Converts encoded \uxxxx to unicode chars and changes special saved chars to their original forms- Parameters:
str- the string to convert- Returns:
- converted string
- See Also:
Properties
-
convertUnicodeToEncoded
public static String convertUnicodeToEncoded(String str, boolean lowerCase)
Converts unicodes to encoded \uxxxx.- Parameters:
str- string to convert- Returns:
- converted string
- See Also:
Properties
-
-