001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.kernel.util;
016    
017    /**
018     * @author Brian Wing Shun Chan
019     */
020    public class UnicodeFormatter_IW {
021            public static UnicodeFormatter_IW getInstance() {
022                    return _instance;
023            }
024    
025            public java.lang.String byteToHex(byte b) {
026                    return UnicodeFormatter.byteToHex(b);
027            }
028    
029            public char[] byteToHex(byte b, char[] hexes) {
030                    return UnicodeFormatter.byteToHex(b, hexes);
031            }
032    
033            public java.lang.String charToHex(char c) {
034                    return UnicodeFormatter.charToHex(c);
035            }
036    
037            public java.lang.String parseString(java.lang.String hexString) {
038                    return UnicodeFormatter.parseString(hexString);
039            }
040    
041            public java.lang.String toString(char[] array) {
042                    return UnicodeFormatter.toString(array);
043            }
044    
045            public java.lang.String toString(java.lang.String s) {
046                    return UnicodeFormatter.toString(s);
047            }
048    
049            private UnicodeFormatter_IW() {
050            }
051    
052            private static UnicodeFormatter_IW _instance = new UnicodeFormatter_IW();
053    }