org.dicom4j.io
Class DicomOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.dicom4j.io.BinaryOutputStream
              extended by org.dicom4j.io.DicomOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class DicomOutputStream
extends BinaryOutputStream

Extends BinaryOutputStream by adding the concept of transfer syntaxes

Author:
Laurent Lecomte

Constructor Summary
DicomOutputStream(OutputStream aOutputStream)
           
DicomOutputStream(OutputStream aOutputStream, TransferSyntax aTransferSyntax)
           
 
Method Summary
 TransferSyntax getTransferSyntax()
           
 boolean isExplicitVR()
           Is the transfer syntax use explicit VR ?
 void setTransferSyntax(TransferSyntax aTransferSyntax)
           
 
Methods inherited from class org.dicom4j.io.BinaryOutputStream
getByteOrder, setByteOrder, writeASCII, writeBoolean, writeDouble, writeDouble, writeFloat, writeFloat, writeSigned16, writeSigned32, writeUnsigned16, writeUnsigned16, writeUnsigned32, writeUnsigned8
 
Methods inherited from class java.io.FilterOutputStream
close, flush, write, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DicomOutputStream

public DicomOutputStream(OutputStream aOutputStream)

DicomOutputStream

public DicomOutputStream(OutputStream aOutputStream,
                         TransferSyntax aTransferSyntax)
Method Detail

getTransferSyntax

public TransferSyntax getTransferSyntax()

isExplicitVR

public boolean isExplicitVR()

Is the transfer syntax use explicit VR ?

Returns:
true if explicit VR

setTransferSyntax

public void setTransferSyntax(TransferSyntax aTransferSyntax)


Copyright © 2009 dicom4j. All Rights Reserved.