Package org.aoju.bus.image.galaxy
Class DirWriter
java.lang.Object
org.aoju.bus.image.galaxy.DirReader
org.aoju.bus.image.galaxy.DirWriter
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddLowerDirectoryRecord(Attributes parentRec, Attributes rec) voidvoidclose()voidcommit()static voidstatic voidcreateEmptyDirectory(File file, Attributes fmi, String id, File descFile, String charset) booleandeleteRecord(Attributes rec) findOrAddSeriesRecord(Attributes studyRec, Attributes rec) findOrAddStudyRecord(Attributes patRec, Attributes rec) static DirWriterintpurge()voidrollback()voidsetEncodingOptions(ImageEncodingOptions encOpts) String[]Methods inherited from class org.aoju.bus.image.galaxy.DirReader
findFirstRootDirectoryRecordInUse, findLastLowerDirectoryRecord, findLowerDirectoryRecord, findLowerDirectoryRecordInUse, findLowerInstanceRecord, findLowerInstanceRecord, findNextDirectoryRecord, findNextDirectoryRecordInUse, findNextInstanceRecord, findNextInstanceRecord, findNextPatientRecord, findNextPatientRecord, findNextSeriesRecord, findNextSeriesRecord, findNextStudyRecord, findNextStudyRecord, findPatientRecord, findPatientRecord, findRootDirectoryRecord, findRootDirectoryRecord, findRootInstanceRecord, findSeriesRecord, findSeriesRecord, findStudyRecord, findStudyRecord, getDescriptorFile, getDescriptorFileCharacterSet, getFile, getFileMetaInformation, getFileSetConsistencyFlag, getFileSetID, getFileSetInformation, getFileSetUID, getOffsetOfFirstRootDirectoryRecord, getOffsetOfLastRootDirectoryRecord, getTransferSyntaxUID, inUse, isEmpty, isPrivate, knownInconsistencies, readFirstRootDirectoryRecord, readLastRootDirectoryRecord, readLowerDirectoryRecord, readNextDirectoryRecord, setFileSetConsistencyFlag, setOffsetOfFirstRootDirectoryRecord, setOffsetOfLastRootDirectoryRecord, toFile
-
Method Details
-
open
- Throws:
IOException
-
createEmptyDirectory
public static void createEmptyDirectory(File file, String iuid, String id, File descFile, String charset) throws IOException - Throws:
IOException
-
createEmptyDirectory
public static void createEmptyDirectory(File file, Attributes fmi, String id, File descFile, String charset) throws IOException - Throws:
IOException
-
getEncodingOptions
-
setEncodingOptions
-
addRootDirectoryRecord
- Throws:
IOException
-
addLowerDirectoryRecord
- Throws:
IOException
-
findOrAddPatientRecord
- Throws:
IOException
-
findOrAddStudyRecord
- Throws:
IOException
-
findOrAddSeriesRecord
- Throws:
IOException
-
deleteRecord
- Throws:
IOException
-
rollback
- Throws:
IOException
-
clearCache
public void clearCache()- Overrides:
clearCachein classDirReader
-
commit
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classDirReader- Throws:
IOException
-
toFileIDs
-
purge
- Throws:
IOException
-