Package com.pixelmed.convert
Class UnencapsulateData
- java.lang.Object
-
- com.pixelmed.convert.UnencapsulateData
-
public class UnencapsulateData extends java.lang.ObjectA 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 Summary
Constructors Constructor Description UnencapsulateData(java.lang.String inputFileName, java.lang.String outputFileName)Extract the content of a DICOM encapsulated data object into a file.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] arg)Extract the content of a DICOM encapsulated data object into a file.
-
-
-
Constructor Detail
-
UnencapsulateData
public UnencapsulateData(java.lang.String inputFileName, java.lang.String outputFileName) throws java.io.FileNotFoundException, java.io.IOException, DicomExceptionExtract the content of a DICOM encapsulated data object into a file.
The SOP Class will be automatically determined from the supplied file type.
- Parameters:
inputFileName- DICOM file containing encapsulated dataoutputFileName- file to write the encapsulated data to- Throws:
java.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
-
-