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 Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
public int read(ByteBuffer dst) throws IOException
read
in interface ReadableByteChannel
IOException
Copyright © 1996–2019 Geotools. All rights reserved.