org.dcm4che2.io
Interface DicomInputHandler

All Known Implementing Classes:
DicomInputStream, SAXWriter, StopTagInputHandler, TranscoderInputHandler

public interface DicomInputHandler

Interface used by the DicomInputStream when reading values. DicomInputStream provides an implementation, which may be overridden by setting a custom implementation of DicomInputHandler into the stream object.

Author:
gunter zeilinger(gunterze@gmail.com)
See Also:
DicomInputStream, TranscoderInputHandler, StopTagInputHandler

Method Summary
 boolean readValue(DicomInputStream in)
          Called by the input stream when reading a DICOM value in the stream.
 

Method Detail

readValue

boolean readValue(DicomInputStream in)
                  throws java.io.IOException
Called by the input stream when reading a DICOM value in the stream.

Parameters:
in - The DicomInputStream calling this method.
Returns:
boolean true if the stream should continue reading the item.
Throws:
java.io.IOException


Copyright © 2011 dcm4che. All Rights Reserved.