|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DicomDirWriter
Provides write methods for writing DICOMDIRs to file.
| Method Summary | |
|---|---|
void |
write(DicomDir dicomDir,
DicomObject dicomObject,
int transferSyntax,
boolean sequenceUndefined,
boolean groupLengths)
'writes' the content of the given DicomDir to the specified DicomObject. |
void |
write(DicomDir dicomDir,
java.io.File file)
writes the content of the given DicomDir to the specified File. |
void |
write(DicomDir dicomDir,
java.io.File file,
int transferSyntax,
boolean sequenceUndefined,
boolean groupLengths)
writes the content of the given DicomDir to the specified File |
| Method Detail |
|---|
void write(DicomDir dicomDir,
java.io.File file)
throws java.io.IOException,
DicomException
DicomDir to the specified File.
Explicit VR Little Endian transfer syntax will be used (and is automatically added to the file metainformation)
dicomDir - DicomDir object to serializefile - File to write to
java.io.IOException
DicomException
void write(DicomDir dicomDir,
java.io.File file,
int transferSyntax,
boolean sequenceUndefined,
boolean groupLengths)
throws java.io.IOException,
DicomException
DicomDir to the specified File
dicomDir - DicomDir object to serializefile - File to write totransferSyntax - the transfersyntax to use for writing
(this is also automatically pushed to the file metainformation)sequenceUndefined - true - all sequences and items are encoded using undefined length,
false - all sequences and items are encoded using defined lengthgroupLengths - set to true to include group length tags
java.io.IOException
DicomExceptionTransferSyntax
void write(DicomDir dicomDir,
DicomObject dicomObject,
int transferSyntax,
boolean sequenceUndefined,
boolean groupLengths)
throws DicomException
DicomDir to the specified DicomObject.
Any relevant dicomdir-related content of the DicomObject is overwritten.
dicomDir - DicomDir object to serializedicomObject - DicomObject to write totransferSyntax - the transfersyntax that will be used
(needed for calculating correct offsets)sequenceUndefined - true - all sequences and items will be encoded using undefined length,
false - all sequences and items will be encoded using defined length
(needed for calculating correct offsets)groupLengths - set to true when group length tags will be part of the real write
(needed for calculating correct offsets)
DicomExceptionTransferSyntax
|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||