public class DicomDirWriter extends DicomDirReader
| Modifier and Type | Method and Description |
|---|---|
Attributes |
addLowerDirectoryRecord(Attributes parentRec,
Attributes rec) |
Attributes |
addRootDirectoryRecord(Attributes rec) |
void |
clearCache() |
void |
close() |
void |
commit() |
static void |
createEmptyDirectory(File file,
Attributes fmi,
String id,
File descFile,
String charset) |
static void |
createEmptyDirectory(File file,
String iuid,
String id,
File descFile,
String charset) |
boolean |
deleteRecord(Attributes rec) |
Attributes |
findOrAddPatientRecord(Attributes rec) |
Attributes |
findOrAddSeriesRecord(Attributes studyRec,
Attributes rec) |
Attributes |
findOrAddStudyRecord(Attributes patRec,
Attributes rec) |
DicomEncodingOptions |
getEncodingOptions() |
static DicomDirWriter |
open(File file) |
int |
purge() |
void |
rollback() |
void |
setEncodingOptions(DicomEncodingOptions encOpts) |
String[] |
toFileIDs(File f) |
findFirstRootDirectoryRecordInUse, findLastLowerDirectoryRecord, findLowerDirectoryRecord, findLowerDirectoryRecordInUse, findLowerInstanceRecord, findNextDirectoryRecord, findNextDirectoryRecordInUse, findNextInstanceRecord, findNextPatientRecord, findNextSeriesRecord, findNextStudyRecord, findPatientRecord, findRootDirectoryRecord, findRootDirectoryRecord, findRootInstanceRecord, findSeriesRecord, findStudyRecord, getDescriptorFile, getDescriptorFileCharacterSet, getFile, getFileMetaInformation, getFileSetConsistencyFlag, getFileSetID, getFileSetInformation, getFileSetUID, getOffsetOfFirstRootDirectoryRecord, getOffsetOfLastRootDirectoryRecord, getTransferSyntaxUID, inUse, isEmpty, isPrivate, knownInconsistencies, readFirstRootDirectoryRecord, readLastRootDirectoryRecord, readLowerDirectoryRecord, readNextDirectoryRecord, setFileSetConsistencyFlag, setOffsetOfFirstRootDirectoryRecord, setOffsetOfLastRootDirectoryRecord, toFilepublic DicomEncodingOptions getEncodingOptions()
public void setEncodingOptions(DicomEncodingOptions encOpts)
public static DicomDirWriter open(File file) throws IOException
IOExceptionpublic static void createEmptyDirectory(File file, String iuid, String id, File descFile, String charset) throws IOException
IOExceptionpublic static void createEmptyDirectory(File file, Attributes fmi, String id, File descFile, String charset) throws IOException
IOExceptionpublic Attributes addRootDirectoryRecord(Attributes rec) throws IOException
IOExceptionpublic Attributes addLowerDirectoryRecord(Attributes parentRec, Attributes rec) throws IOException
IOExceptionpublic Attributes findOrAddPatientRecord(Attributes rec) throws IOException
IOExceptionpublic Attributes findOrAddStudyRecord(Attributes patRec, Attributes rec) throws IOException
IOExceptionpublic Attributes findOrAddSeriesRecord(Attributes studyRec, Attributes rec) throws IOException
IOExceptionpublic boolean deleteRecord(Attributes rec) throws IOException
IOExceptionpublic void rollback()
throws IOException
IOExceptionpublic void clearCache()
clearCache in class DicomDirReaderpublic void commit()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class DicomDirReaderIOExceptionpublic int purge()
throws IOException
IOExceptionCopyright © 2014 dcm4che.org. All Rights Reserved.