|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.io.DicomWriter
public class DicomWriter
Writer used to insert a DataSet into a
stream
| Constructor Summary | |
|---|---|
DicomWriter(OutputStream aStream)
Creates a new writer |
|
| Method Summary | |
|---|---|
void |
close()
|
static byte[] |
getDataSetToBytes(DataSet aDataSet,
TransferSyntax aTransferSyntax)
Convert a DataSet into an array of bytes |
OutputStream |
getStream()
return the inner stream |
void |
write(DataSet aDataSet)
insert data of the DataSetusing the default DICOM TransferSyntax (Implicit VR Little Endian) |
void |
write(DataSet aDataSet,
TransferSyntax aTransferSyntax)
insert data of the Dataset using the supplied DICOM TransferSyntax |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DicomWriter(OutputStream aStream)
aStream - the stream to write| Method Detail |
|---|
public static byte[] getDataSetToBytes(DataSet aDataSet,
TransferSyntax aTransferSyntax)
throws IOException,
DicomException
aDataSet - the DatasetaTransferSyntax - the TransferSyntax to use
IOException
DicomExceptionpublic void close()
public OutputStream getStream()
public void write(DataSet aDataSet)
throws IOException,
DicomException
DataSetusing the default DICOM TransferSyntax (Implicit VR Little Endian)
aDataSet - the DataSet to write
IOException
DicomException
public void write(DataSet aDataSet,
TransferSyntax aTransferSyntax)
throws IOException,
DicomException
aDataSet - the DataSet to insertaTransferSyntax - the TransferSyntax to use
IOException
DicomException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||