org.postgresql.util
Class StreamWrapper
java.lang.Object
org.postgresql.util.StreamWrapper
public class StreamWrapper
- extends Object
Wrapper around a length-limited InputStream.
- Author:
- Oliver Jowett (oliver@opencloud.com)
StreamWrapper
public StreamWrapper(byte[] data,
int offset,
int length)
StreamWrapper
public StreamWrapper(InputStream stream,
int length)
getStream
public InputStream getStream()
getLength
public int getLength()
getOffset
public int getOffset()
getBytes
public byte[] getBytes()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.