Package com.sun.xml.ws.util
Class ASCIIUtility
java.lang.Object
com.sun.xml.ws.util.ASCIIUtility
Copied from mail.jar.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyStream(InputStream is, OutputStream out) static intparseInt(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 StringtoString(byte[] b, int start, int end) Convert the bytes within the specified range of the given byte array into a String.
-
Method Details
-
parseInt
Convert the bytes within the specified range of the given byte array into a signed integer in the given radix . The range extends fromstarttill, but not includingend.Based on java.lang.Integer.parseInt()
- Throws:
NumberFormatException
-
toString
Convert the bytes within the specified range of the given byte array into a String. The range extends fromstarttill, but not includingend. -
copyStream
- Throws:
IOException
-