@Override public void close() throws IOException { if (refCount > 0) refCount--; if (refCount == 0) super.close(); }
@Override public void close(boolean fileOnly) throws IOException { super.close(fileOnly); if (!fileOnly) { lastImage = null; lastImageIndex = -1; lastImageSeries = -1; lastImageX = -1; lastImageY = -1; lastImageWidth = -1; lastImageHeight = -1; } }
@Override public void close() throws IOException { if (refCount > 0) refCount--; if (refCount == 0) super.close(); }
@Override public void close(boolean fileOnly) throws IOException { super.close(fileOnly); if (!fileOnly) { lastImage = null; lastImageIndex = -1; lastImageSeries = -1; lastImageX = -1; lastImageY = -1; lastImageWidth = -1; lastImageHeight = -1; } }
@Override public void close(boolean fileOnly) throws IOException { ReaderWrapper helper = getHelper(); if (helper != null) { helper.close(fileOnly); } }
@Override public void close(boolean fileOnly) throws IOException { try { cleanup(); } finally { super.close(fileOnly); } }
@Override public void close(boolean fileOnly) throws IOException { try { cleanup(); } finally { super.close(fileOnly); } }
@Override public void close() throws IOException { ReaderWrapper helper = getHelper(); if (helper != null) { helper.close(); } }
@Override public void close() throws IOException { try { cleanup(); } finally { super.close(); } }
@Override public void close(boolean fileOnly) throws IOException { ReaderWrapper helper = getHelper(); if (helper != null) { helper.close(fileOnly); } }
@Override public void close() throws IOException { try { cleanup(); } finally { super.close(); } }
@Override public void close() throws IOException { ReaderWrapper helper = getHelper(); if (helper != null) { helper.close(); } }
@Override public void close(boolean fileOnly) throws IOException { super.close(fileOnly); if (externals != null) { for (ExternalSeries s : externals) { if (s != null && s.getReaders() != null) { for (DimensionSwapper r : s.getReaders()) { if (r != null) r.close(fileOnly); } } } } if (!fileOnly) { noStitch = false; externals = null; sizeZ = sizeC = sizeT = null; lenZ = lenC = lenT = null; core.clear(); coreIndex = 0; series = 0; store = null; } }
@Override public void close(boolean fileOnly) throws IOException { super.close(fileOnly); if (externals != null) { for (ExternalSeries s : externals) { if (s != null && s.getReaders() != null) { for (DimensionSwapper r : s.getReaders()) { if (r != null) r.close(fileOnly); } } } } if (!fileOnly) { noStitch = false; externals = null; sizeZ = sizeC = sizeT = null; lenZ = lenC = lenT = null; core.clear(); coreIndex = 0; series = 0; store = null; } }