public class FL extends DicomValue
| Modifier and Type | Method and Description |
|---|---|
void |
dumpDICOMInfo(IDicomStream objIDicomStream)
Dumps the value of Attribute in readable form.
|
long |
getMaxLength()
Returns max length of FL
|
int |
getValueLength()
Retrieves the actual value length of FD
|
boolean |
read(IDicomStream objIDicomStream,
int iLength)
Reads the FL DataType structure from underlying stream
|
void |
setValue(java.lang.Object objValue)
Sets the value in the DicomValue after performing validation on the value.
|
java.lang.String |
toString()
This function returns the String value of FL Data Type.
|
boolean |
validate()
Validates FD DataType according to the rules specified in the DICOM Standard
|
boolean |
validate(java.lang.Object objToValidate)
Validates FD DataType according to the rules specified in the DICOM Standard
|
int |
write(IDicomStream objIDicomStream)
This method writes the Data Value to the Stream.
|
clone, getIVRType, getValue, getValueMultiplicity, setIVRTypepublic long getMaxLength()
public boolean read(IDicomStream objIDicomStream, int iLength) throws InvalidDataTypeException, java.io.IOException
read in interface IDicomValueread in class DicomValueobjIDicomStream - stream from which the DataType is to be writteniLength - length of the FL to be read from the streamInvalidDataTypeException - If data type validation fails.java.io.IOException - If Input/Output operation fails.public int write(IDicomStream objIDicomStream) throws java.io.IOException
write in interface IDicomValuewrite in class DicomValueobjIDicomStream - object of stream onto which the FL DataType is to be writtenjava.io.IOException - If Input/Output operation fails.public boolean validate(java.lang.Object objToValidate)
validate in interface IDicomValuevalidate in class DicomValueobjToValidate - object to validatepublic boolean validate()
validate in interface IDicomValuevalidate in class DicomValuepublic int getValueLength()
getValueLength in interface IDicomValuegetValueLength in class DicomValuepublic void setValue(java.lang.Object objValue)
throws InvalidDataTypeException
setValue in interface IDicomValuesetValue in class DicomValueobjValue - value that is to be set into the DicomValueInvalidDataTypeException - If data type validation fails.public java.lang.String toString()
toString in class java.lang.Objectpublic void dumpDICOMInfo(IDicomStream objIDicomStream) throws java.io.IOException
objIDicomStream - - the Stream on which the Data is to be written.java.io.IOException - - Exception is thrown indicating runtime failure of writing operation.