|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.data.dods.Adapter
visad.data.dods.AttributeAdapter
visad.data.dods.NumericAttributeAdapter
visad.data.dods.FloatAttributeAdapter
visad.data.dods.Float32AttributeAdapter
public class Float32AttributeAdapter
Provides support for adapting a DODS Attribute.FLOAT32
attribute to the VisAD data-import context.
Instances are immutable.
Constructor Summary | |
---|---|
Float32AttributeAdapter(java.lang.String name,
Attribute attr)
Constructs from a name and an appropriate attribute. |
Method Summary | |
---|---|
protected float |
floatValue(java.lang.String spec)
Returns the numeric value corresponding to a floating-point string specification. |
Methods inherited from class visad.data.dods.FloatAttributeAdapter |
---|
number, visadSet |
Methods inherited from class visad.data.dods.NumericAttributeAdapter |
---|
data, getAttributeName, getRealType |
Methods inherited from class visad.data.dods.Adapter |
---|
attributeTable, attributeTable, getCacheStrategy, isFlat, mathType, realType, realType, realType, realType, scalarName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Float32AttributeAdapter(java.lang.String name, Attribute attr) throws VisADException
name
- The name of the attribute.attr
- The attribute. Must have the appropriate type.
VisADException
- VisAD failure. Probably the attribute has an
inappropriate type.Method Detail |
---|
protected float floatValue(java.lang.String spec)
floatValue
in class FloatAttributeAdapter
spec
- A floating-point string specification.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |