public class CloseInhibitingReader extends Object implements FileReader
| Constructor and Description |
|---|
CloseInhibitingReader() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
allocateByteBuffer(int size)
Allocates a byte buffer.
|
void |
close() |
int |
read(ByteBuffer data) |
public int read(ByteBuffer data) throws IOException
read in interface FileReaderIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic ByteBuffer allocateByteBuffer(int size)
FileReaderallocateByteBuffer in interface FileReadersize - The size of the buffer.Copyright © 2016. All rights reserved.