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:
- Closeable
public class ByteInputStream
- extends ByteArrayInputStream
| 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 IOException
- Specified by:
close in interface Closeable- Overrides:
close in class ByteArrayInputStream
- Throws:
IOException
setBuf
public void setBuf(byte[] buf)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.