001    /**
002     * Copyright (c) 2000-2011 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 bytesToHex(byte[] bytes) {
026                    return UnicodeFormatter.bytesToHex(bytes);
027            }
028    
029            public java.lang.String byteToHex(byte b) {
030                    return UnicodeFormatter.byteToHex(b);
031            }
032    
033            public char[] byteToHex(byte b, char[] hexes) {
034                    return UnicodeFormatter.byteToHex(b, hexes);
035            }
036    
037            public char[] byteToHex(byte b, char[] hexes, boolean upperCase) {
038                    return UnicodeFormatter.byteToHex(b, hexes, upperCase);
039            }
040    
041            public java.lang.String charToHex(char c) {
042                    return UnicodeFormatter.charToHex(c);
043            }
044    
045            public byte[] hexToBytes(java.lang.String hexString) {
046                    return UnicodeFormatter.hexToBytes(hexString);
047            }
048    
049            public java.lang.String parseString(java.lang.String hexString) {
050                    return UnicodeFormatter.parseString(hexString);
051            }
052    
053            public java.lang.String toString(char[] array) {
054                    return UnicodeFormatter.toString(array);
055            }
056    
057            public java.lang.String toString(java.lang.String s) {
058                    return UnicodeFormatter.toString(s);
059            }
060    
061            private UnicodeFormatter_IW() {
062            }
063    
064            private static UnicodeFormatter_IW _instance = new UnicodeFormatter_IW();
065    }