public void remove() throws IOException { if (featureReader == null) { throw new IOException("Writer closed"); } if (currentFeature == null) { throw new IOException("Current feature is null"); } if( indexedFidWriter!=null ){ if (indexedFidWriter.isClosed()) { throw new IOException("Writer closed"); } indexedFidWriter.remove(); } // mark the current feature as null, this will result in it not // being rewritten to the stream currentFeature = null; }
if (indexedFidWriter.isClosed()) { throw new IOException("FID Writer closed");