- Common ways to obtain DicomDirWriter
private void myMethod () {}
public synchronized int purge() throws IOException { int[] count = { 0 }; purge(findFirstRootDirectoryRecordInUse(false), count); return count[0]; }
private int purge() throws IOException { checkOut(); return out.purge(); }
private int purge() throws IOException { checkOut(); return out.purge(); }
private boolean purge(Attributes rec, int[] count) throws IOException { boolean purge = true; while (rec != null) { if (purge(findLowerDirectoryRecordInUse(rec, false), count) && !rec.containsValue(Tag.ReferencedFileID)) { deleteRecord(rec); count[0]++; } else purge = false; rec = readNextDirectoryRecord(rec); } return purge; } }