public final class StreamWrapper extends Object implements Closeable
| Constructor and Description |
|---|
StreamWrapper(byte[] data,
int offset,
int length) |
StreamWrapper(InputStream stream) |
StreamWrapper(InputStream stream,
int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
byte[] |
getBytes() |
int |
getLength() |
int |
getOffset() |
InputStream |
getStream() |
String |
toString() |
public StreamWrapper(byte[] data,
int offset,
int length)
public StreamWrapper(InputStream stream, int length)
public StreamWrapper(InputStream stream) throws PSQLException
PSQLExceptionpublic InputStream getStream() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic int getLength()
public int getOffset()
public byte[] getBytes()
Copyright © 1997-2024 PostgreSQL Global Development Group. All Rights Reserved.