001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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 java.lang.String charToHex(char c) {
030                    return UnicodeFormatter.charToHex(c);
031            }
032    
033            public java.lang.String parseString(java.lang.String hexString) {
034                    return UnicodeFormatter.parseString(hexString);
035            }
036    
037            public java.lang.String toString(char[] array) {
038                    return UnicodeFormatter.toString(array);
039            }
040    
041            public java.lang.String toString(java.lang.String s) {
042                    return UnicodeFormatter.toString(s);
043            }
044    
045            private UnicodeFormatter_IW() {
046            }
047    
048            private static UnicodeFormatter_IW _instance = new UnicodeFormatter_IW();
049    }