Package ucar.nc2.ncml
Class NcmlConstructor
- java.lang.Object
-
- ucar.nc2.ncml.NcmlConstructor
-
@Deprecated public class NcmlConstructor extends Object
Deprecated.do not usePopulate a NetcdfFile directly from NcML, can be used by IOSPs. All ncml elements are new, not modified.
-
-
Constructor Summary
Constructors Constructor Description NcmlConstructor()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FormattergetErrlog()Deprecated.booleanpopulate(InputStream ncml, NetcdfFile target)Deprecated.booleanpopulate(String ncml, NetcdfFile target)Deprecated.booleanpopulateFromResource(String resourceLocation, NetcdfFile target)Deprecated.
-
-
-
Method Detail
-
getErrlog
public Formatter getErrlog()
Deprecated.
-
populateFromResource
public boolean populateFromResource(String resourceLocation, NetcdfFile target) throws IOException
Deprecated.- Parameters:
resourceLocation- eg "resources/nj22/iosp/ghcnm.ncml"target- populate this file- Returns:
- true if success
- Throws:
IOException- on error
-
populate
public boolean populate(String ncml, NetcdfFile target) throws IOException
Deprecated.- Throws:
IOException
-
populate
public boolean populate(InputStream ncml, NetcdfFile target) throws IOException
Deprecated.- Throws:
IOException
-
-