Class DecimalStringAttribute


public class DecimalStringAttribute extends StringAttribute

A concrete class specializing Attribute for Decimal String (DS) attributes.

Though an instance of this class may be created using its constructors, there is also a factory class, AttributeFactory.

See Also:
  • Field Details

    • MAX_LENGTH_SINGLE_VALUE

      protected static final int MAX_LENGTH_SINGLE_VALUE
      See Also:
  • Constructor Details

    • DecimalStringAttribute

      public DecimalStringAttribute(AttributeTag t)

      Construct an (empty) attribute.

      Parameters:
      t - the tag of the attribute
    • DecimalStringAttribute

      public DecimalStringAttribute(AttributeTag t, long vl, DicomInputStream i) throws IOException, DicomException

      Read an attribute from an input stream.

      Parameters:
      t - the tag of the attribute
      vl - the value length of the attribute
      i - the input stream
      Throws:
      IOException - if an I/O error occurs
      DicomException - if error in DICOM encoding
    • DecimalStringAttribute

      public DecimalStringAttribute(AttributeTag t, Long vl, DicomInputStream i) throws IOException, DicomException

      Read an attribute from an input stream.

      Parameters:
      t - the tag of the attribute
      vl - the value length of the attribute
      i - the input stream
      Throws:
      IOException - if an I/O error occurs
      DicomException - if error in DICOM encoding
  • Method Details