|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.sun.mail.util.ASCIIUtility
public class ASCIIUtility
| 方法摘要 | |
|---|---|
static byte[] |
getBytes(InputStream is)
|
static byte[] |
getBytes(String s)
|
static int |
parseInt(byte[] b,
int start,
int end)
Convert the bytes within the specified range of the given byte array into a signed integer . |
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 . |
static long |
parseLong(byte[] b,
int start,
int end)
Convert the bytes within the specified range of the given byte array into a signed long . |
static long |
parseLong(byte[] b,
int start,
int end,
int radix)
Convert the bytes within the specified range of the given byte array into a signed long in the given radix . |
static String |
toString(byte[] b,
int start,
int end)
Convert the bytes within the specified range of the given byte array into a String. |
static String |
toString(ByteArrayInputStream is)
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public static int parseInt(byte[] b,
int start,
int end,
int radix)
throws NumberFormatException
start till, but not including end. Based on java.lang.Integer.parseInt()
NumberFormatException
public static int parseInt(byte[] b,
int start,
int end)
throws NumberFormatException
start till, but not including end.
NumberFormatException
public static long parseLong(byte[] b,
int start,
int end,
int radix)
throws NumberFormatException
start till, but not including end. Based on java.lang.Long.parseLong()
NumberFormatException
public static long parseLong(byte[] b,
int start,
int end)
throws NumberFormatException
start till, but not including end.
NumberFormatException
public static String toString(byte[] b,
int start,
int end)
start
till, but not including end.
public static String toString(ByteArrayInputStream is)
public static byte[] getBytes(String s)
public static byte[] getBytes(InputStream is)
throws IOException
IOException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||