public class ReadableByteChannelDecorator extends Object implements ReadableByteChannel
close() it also calls ShapefileFiles.unlock method to release the lock on the URL.| Constructor and Description |
|---|
ReadableByteChannelDecorator(ReadableByteChannel newChannel,
ShpFiles shapefileFiles,
URL url,
FileReader requestor) |
public ReadableByteChannelDecorator(ReadableByteChannel newChannel, ShpFiles shapefileFiles, URL url, FileReader requestor)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionpublic int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelIOExceptionCopyright © 1996–2021 Geotools. All rights reserved.