com.clickntap.utils
Class AsciiUtils
java.lang.Object
com.clickntap.utils.AsciiUtils
public class AsciiUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsciiUtils
public AsciiUtils()
limit
public static String limit(String text,
int limit)
utf7ToText
public static String utf7ToText(String text)
textToUtf7
public static String textToUtf7(String text)
textToUtf7
public static String textToUtf7(char[] text)
binaryToText
public static void binaryToText(String fileName1,
String fileName2)
throws IOException
- Throws:
IOException
binaryToText
public static void binaryToText(File file1,
File file2)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
binaryToText
public static void binaryToText(InputStream in,
Writer out)
throws IOException
- Throws:
IOException
textToBinary
public static void textToBinary(String fileName1,
String fileName2)
throws IOException
- Throws:
IOException
textToBinary
public static void textToBinary(File file1,
File file2)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
textToBinary
public static void textToBinary(InputStream in,
OutputStream out)
throws IOException
- Throws:
IOException
bytesToInt
public static int bytesToInt(byte[] b)
byteToInt
public static int byteToInt(byte b)
webize
public static String webize(String text)
webize
public static String webize(char[] text)
phonize
public static String phonize(String text)
phonize
public static String phonize(char[] text)
isWebized
public static boolean isWebized(String text)
Copyright © 2014. All rights reserved.