| java.lang.Object com.sun.xml.ws.util.ASCIIUtility
ASCIIUtility | public class ASCIIUtility (Code) | | Copied from mail.jar.
|
Method Summary | |
public static void | copyStream(InputStream is, OutputStream out) | public static byte[] | getBytes(String s) | public static byte[] | getBytes(InputStream is) | public static int | parseInt(byte[] b, int start, int end, int radix) Convert the bytes within the specified range of the given byte
array into a signed integer in the given radix . | public static String | toString(byte[] b, int start, int end) Convert the bytes within the specified range of the given byte
array into a String. |
parseInt | public static int parseInt(byte[] b, int start, int end, int radix) throws NumberFormatException(Code) | | Convert the bytes within the specified range of the given byte
array into a signed integer in the given radix . The range extends
from start till, but not including end .
Based on java.lang.Integer.parseInt()
|
toString | public static String toString(byte[] b, int start, int end)(Code) | | Convert the bytes within the specified range of the given byte
array into a String. The range extends from start
till, but not including end .
|
|
|