com.sun.xml.messaging.saaj.util
Class ByteInputStream
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
com.sun.xml.messaging.saaj.util.ByteInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class ByteInputStream
- extends java.io.ByteArrayInputStream
Fields inherited from class java.io.ByteArrayInputStream |
buf, count, mark, pos |
Methods inherited from class java.io.ByteArrayInputStream |
available, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.io.InputStream |
read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteInputStream
public ByteInputStream()
ByteInputStream
public ByteInputStream(byte[] buf,
int length)
ByteInputStream
public ByteInputStream(byte[] buf,
int offset,
int length)
getBytes
public byte[] getBytes()
getCount
public int getCount()
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.ByteArrayInputStream
- Throws:
java.io.IOException
setBuf
public void setBuf(byte[] buf)