@Override public void close() throws IOException { in.close(); super.close(); }
@Override public void close() throws IOException { in.close(); super.close(); }
/** Open a writer appending to an existing file. */ public DataFileWriter<D> appendTo(File file) throws IOException { SeekableInput input = null; try { input = new SeekableFileInput(file); OutputStream output = new SyncableFileOutputStream(file, true); return appendTo(input, output); } finally { if (input != null) input.close(); // output does not need to be closed here. It will be closed by invoking close() of this writer. } }
@Override public void close() throws IOException { in.close(); super.close(); }
@Override public void close() throws IOException { in.close(); super.close(); }