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 WritableByteChannelIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionCopyright © 1996–2021 Geotools. All rights reserved.