public class WritableByteChannelDecorator extends Object implements WritableByteChannel
close()
it also calls ShapefileFiles.unlock method to release the lock on the URL.Constructor and Description |
---|
WritableByteChannelDecorator(WritableByteChannel newChannel,
ShpFiles shapefileFiles,
URL url,
FileWriter requestor) |
public WritableByteChannelDecorator(WritableByteChannel newChannel, ShpFiles shapefileFiles, URL url, FileWriter requestor)
public int write(ByteBuffer src) throws IOException
write
in interface WritableByteChannel
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
Copyright © 1996–2019 Geotools. All rights reserved.