public class TempFileIOChannel extends FileIOChannel
Constructor and Description |
---|
TempFileIOChannel(FileChannel channel,
int size,
String tempFilePath) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the given channel.
|
transfer
getInputStream, hasReachedEnd, read, readFull, write
public TempFileIOChannel(FileChannel channel, int size, String tempFilePath) throws BallerinaIOException
BallerinaIOException
public void close() throws IOException
Channel
close
in class Channel
IOException
- errors occur while closing the connection.Copyright © 2018 WSO2. All rights reserved.