org.planx.util
Class Converter
java.lang.Object
org.planx.util.Converter
public class Converter
- extends Object
- Author:
- Kasper Bøgebjerg, Henning Niss, Thomas Ambus
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Converter
public Converter()
bytes2int
public static int bytes2int(byte[] ab,
int i)
int2bytes
public static byte[] int2bytes(int i)
int2bytebuf
public static void int2bytebuf(int i,
int off,
byte[] ab)
toHex
public static String toHex(byte b)
toHex
public static String toHex(byte[] bs)
getBytes
public static byte[] getBytes(String str)
getBytes
public static byte[] getBytes(String str,
String enc)
Copyright © 2010. All Rights Reserved.