Package ucar.nc2
Class VariableSimpleBuilder
- java.lang.Object
-
- ucar.nc2.VariableSimpleBuilder
-
public class VariableSimpleBuilder extends Object
Builder for VariableSimpleIF, makes true immutable objects.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableSimpleBuilder
addAttribute(String name, String value)
VariableSimpleBuilder
addAttribute(Attribute att)
VariableSimpleIF
build()
static VariableSimpleBuilder
fromMember(StructureMembers.Member m)
static VariableSimpleBuilder
makeScalar(String name, String desc, String units, DataType dt)
static VariableSimpleBuilder
makeString(String name, String desc, String units, int str_len)
-
-
-
Method Detail
-
fromMember
public static VariableSimpleBuilder fromMember(StructureMembers.Member m)
-
makeScalar
public static VariableSimpleBuilder makeScalar(String name, String desc, String units, DataType dt)
-
makeString
public static VariableSimpleBuilder makeString(String name, String desc, String units, int str_len)
-
addAttribute
public VariableSimpleBuilder addAttribute(Attribute att)
-
addAttribute
public VariableSimpleBuilder addAttribute(String name, String value)
-
build
public VariableSimpleIF build()
-
-