|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.DicomStreamCopier
public class DicomStreamCopier
A class to copy DICOM attributes from anm input stream to an output stream, converting the encoding of the attributes between transfer syntaxes if necessary.
DicomInputStream,
DicomOutputStream| Constructor Summary | |
|---|---|
DicomStreamCopier(DicomInputStream i,
DicomOutputStream o)
Copy a dicom input stream to a dicom output stream, using any meta information header if present in input, but not copying it. |
|
| Method Summary | |
|---|---|
static void |
main(String[] arg)
Copy one file to another parsing and recreating the DICOM attributes using the specified transfer syntaxes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DicomStreamCopier(DicomInputStream i,
DicomOutputStream o)
throws DicomException,
IOException
Copy a dicom input stream to a dicom output stream, using any meta information header if present in input, but not copying it.
i - the input streamo - the output stream, which is closed after the copy is done
IOException
DicomException| Method Detail |
|---|
public static void main(String[] arg)
Copy one file to another parsing and recreating the DICOM attributes using the specified transfer syntaxes.
arg - four arguments, the input transfer syntax uid (must be zero length if metaheader present), the input filename,
the output transfer syntax uid and the output filename
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||