Package ucar.nc2
Class NetcdfFile.Builder<T extends NetcdfFile.Builder<T>>
- java.lang.Object
-
- ucar.nc2.NetcdfFile.Builder<T>
-
- Direct Known Subclasses:
NetcdfDataset.Builder
- Enclosing class:
- NetcdfFile
public abstract static class NetcdfFile.Builder<T extends NetcdfFile.Builder<T>> extends Object
A builder of NetcdfFile objects.
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractIOServiceProvider
iosp
String
location
Group.Builder
rootGroup
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description NetcdfFile
build()
protected abstract T
self()
T
setId(String id)
T
setIosp(AbstractIOServiceProvider iosp)
T
setLocation(String location)
Set the location, a URL or local filename.T
setRootGroup(Group.Builder rootGroup)
T
setTitle(String title)
Set the dataset "human readable" title.
-
-
-
Field Detail
-
rootGroup
public Group.Builder rootGroup
-
location
public String location
-
iosp
protected AbstractIOServiceProvider iosp
-
-
Method Detail
-
self
protected abstract T self()
-
setRootGroup
public T setRootGroup(Group.Builder rootGroup)
-
setIosp
public T setIosp(AbstractIOServiceProvider iosp)
-
build
public NetcdfFile build()
-
-