Class WritableByteChannelDecorator
Object
WritableByteChannelDecorator
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Channel,- WritableByteChannel
A WritableByteChannel that delegates all calls to the underlying WritableByteChannel but for 
close() it also
 calls ShapefileFiles.unlock method to release the lock on the URL.- Author:
- jesse
- 
Constructor SummaryConstructorsConstructorDescriptionWritableByteChannelDecorator(WritableByteChannel newChannel, ShpFiles shapefileFiles, URL url, FileWriter requestor) 
- 
Method Summary
- 
Constructor Details- 
WritableByteChannelDecoratorpublic WritableByteChannelDecorator(WritableByteChannel newChannel, ShpFiles shapefileFiles, URL url, FileWriter requestor) 
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- WritableByteChannel
- Throws:
- IOException
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Channel
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
- 
isOpenpublic boolean isOpen()
 
-