public class UnencapsulateData
extends java.lang.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(java.lang.String inputFileName,
java.lang.String outputFileName)
Extract the content of a DICOM encapsulated data object into a file.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] arg)
Extract the content of a DICOM encapsulated data object into a file.
|
public UnencapsulateData(java.lang.String inputFileName, java.lang.String outputFileName) throws java.io.FileNotFoundException, java.io.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 tojava.io.FileNotFoundException
- if a file cannot be foundjava.io.IOException
- if there is a problem reading or writingDicomException
- if there is a problem parsing or extracting required content