|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.Attribute
com.pixelmed.dicom.TextAttribute
com.pixelmed.dicom.LongTextAttribute
public class LongTextAttribute
A concrete class specializing Attribute for
Long Text (LT) attributes.
Though an instance of this class may be created
using its constructors, there is also a factory class, AttributeFactory.
Attribute,
AttributeFactory,
AttributeList| Field Summary |
|---|
| Fields inherited from class com.pixelmed.dicom.TextAttribute |
|---|
specificCharacterSet |
| Fields inherited from class com.pixelmed.dicom.Attribute |
|---|
valueLength, valueMultiplicity |
| Constructor Summary | |
|---|---|
LongTextAttribute(AttributeTag t)
Construct an (empty) attribute. |
|
LongTextAttribute(AttributeTag t,
long vl,
DicomInputStream i,
SpecificCharacterSet specificCharacterSet)
Read an attribute from an input stream. |
|
LongTextAttribute(AttributeTag t,
Long vl,
DicomInputStream i,
SpecificCharacterSet specificCharacterSet)
Read an attribute from an input stream. |
|
LongTextAttribute(AttributeTag t,
SpecificCharacterSet specificCharacterSet)
Construct an (empty) attribute. |
|
| Method Summary | |
|---|---|
byte[] |
getVR()
Get the value representation of this attribute (LT). |
| Methods inherited from class com.pixelmed.dicom.TextAttribute |
|---|
addValue, getByteValues, getPaddedVL, getStringValues, removeValues, toString, translateByteArrayToString, translateStringToByteArray, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LongTextAttribute(AttributeTag t)
Construct an (empty) attribute.
t - the tag of the attribute
public LongTextAttribute(AttributeTag t,
SpecificCharacterSet specificCharacterSet)
Construct an (empty) attribute.
t - the tag of the attributespecificCharacterSet - the character set to be used for the text
public LongTextAttribute(AttributeTag t,
long vl,
DicomInputStream i,
SpecificCharacterSet specificCharacterSet)
throws IOException,
DicomException
Read an attribute from an input stream.
t - the tag of the attributevl - the value length of the attributei - the input streamspecificCharacterSet - the character set to be used for the text
IOException
DicomException
public LongTextAttribute(AttributeTag t,
Long vl,
DicomInputStream i,
SpecificCharacterSet specificCharacterSet)
throws IOException,
DicomException
Read an attribute from an input stream.
t - the tag of the attributevl - the value length of the attributei - the input streamspecificCharacterSet - the character set to be used for the text
IOException
DicomException| Method Detail |
|---|
public byte[] getVR()
Get the value representation of this attribute (LT).
getVR in class AttributeValueRepresentation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||