@Override public void close() throws java.io.IOException { if (raf != null) raf.close(); raf = null; }
public void close() throws java.io.IOException { if (indexRaf != null) { indexRaf.close(); indexRaf = null; } }
@Override public void close() throws java.io.IOException { if (raf != null) raf.close(); raf = null; }
/** * Close the file. * @throws IOException */ public void close() throws IOException { if (raf != null) { raf.close(); } }
/** * Close the file. * @throws IOException */ public void close() throws IOException { if (raf != null) raf.close(); }
/** * Close the file. * @throws IOException */ public void close() throws IOException { if (raf != null) raf.close(); }
@Override public void close() throws java.io.IOException { if (raf != null) raf.close(); raf = null; }
public void release() throws IOException { if (raf != null) raf.close(); raf = null; }
/** * Close the file. * @throws IOException */ public void close() throws IOException { if (raf != null) { raf.close(); } }
@Override public void finish() { try { if (this.timeSeriesRaf != null && this.timeSeriesRaf != dataRaf) { timeSeriesRaf.close(); timeSeriesRaf = null; } } catch (IOException e) { e.printStackTrace(); } }
@Override public void finish() { try { if (this.timeSeriesRaf != null && this.timeSeriesRaf != dataRaf) { timeSeriesRaf.close(); timeSeriesRaf = null; } } catch (IOException e) { e.printStackTrace(); } }
@Override public void close() { try { if (this.timeSeriesRaf != null && this.timeSeriesRaf != dataRaf) { timeSeriesRaf.close(); timeSeriesRaf = null; } } catch (IOException e) { e.printStackTrace(); } }
/** * Close this IOSP and associated files * * @throws IOException problem closing files */ public void close() throws IOException { if (dataFile != null) dataFile.close(); dataFile = null; super.close(); }
/** * Close this IOSP and associated files * * @throws IOException problem closing files */ public void close() throws IOException { if (dataFile != null) { dataFile.close(); } dataFile = null; super.close(); }
public void close() throws java.io.IOException { if (raf != null) { long size = header.calcFileSize(); raf.setMinLength( size); raf.close(); } raf = null; }
private static void dump(String filename) throws IOException { System.out.printf("Dump %s%n", filename); RandomAccessFile raf = new RandomAccessFile(filename, "r"); NetcdfFile ncfile = new MyNetcdfFile(); // its a netcdf-3 file raf.order(RandomAccessFile.BIG_ENDIAN); N3header headerParser = new N3header(); headerParser.read(raf, ncfile, new Formatter(System.out)); raf.close(); }