public class BlobChannel extends Object implements ByteChannel
| Constructor and Description |
|---|
BlobChannel(ReadableByteChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isOpen() |
int |
read(ByteBuffer dst) |
int |
write(ByteBuffer src) |
public BlobChannel(ReadableByteChannel channel)
public int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelIOExceptionpublic int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionCopyright © 2018 WSO2. All rights reserved.