Class LongTextAttribute

    • Field Detail

      • MAX_LENGTH_ENTIRE_VALUE

        protected static final int MAX_LENGTH_ENTIRE_VALUE
        See Also:
        Constant Field Values
    • Constructor Detail

      • LongTextAttribute

        public LongTextAttribute​(AttributeTag t)

        Construct an (empty) attribute.

        Parameters:
        t - the tag of the attribute
      • LongTextAttribute

        public LongTextAttribute​(AttributeTag t,
                                 SpecificCharacterSet specificCharacterSet)

        Construct an (empty) attribute.

        Parameters:
        t - the tag of the attribute
        specificCharacterSet - the character set to be used for the text
      • LongTextAttribute

        public LongTextAttribute​(AttributeTag t,
                                 long vl,
                                 DicomInputStream i,
                                 SpecificCharacterSet specificCharacterSet)
                          throws java.io.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
        specificCharacterSet - the character set to be used for the text
        Throws:
        java.io.IOException - if an I/O error occurs
        DicomException - if error in DICOM encoding
      • LongTextAttribute

        public LongTextAttribute​(AttributeTag t,
                                 java.lang.Long vl,
                                 DicomInputStream i,
                                 SpecificCharacterSet specificCharacterSet)
                          throws java.io.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
        specificCharacterSet - the character set to be used for the text
        Throws:
        java.io.IOException - if an I/O error occurs
        DicomException - if error in DICOM encoding