public class UnencapsulateData extends Object
A class to extract the content of a DICOM encapsulated data object into a file.
E.g., to extract an encapsulated PDF, CDA or STL file.
| Constructor and Description |
|---|
UnencapsulateData(String inputFileName,
String outputFileName)
Extract the content of a DICOM encapsulated data object into a file.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] arg)
Extract the content of a DICOM encapsulated data object into a file.
|
public UnencapsulateData(String inputFileName, String outputFileName) throws FileNotFoundException, IOException, DicomException
Extract the content of a DICOM encapsulated data object into a file.
The SOP Class will be automatically determined from the supplied file type.
inputFileName - DICOM file containing encapsulated dataoutputFileName - file to write the encapsulated data toFileNotFoundException - if a file cannot be foundIOException - if there is a problem reading or writingDicomException - if there is a problem parsing or extracting required contentpublic static void main(String[] arg)
Extract the content of a DICOM encapsulated data object into a file.
arg - two parameters, the input DICOM file and the output file