public class CDFWriter extends GenericWriter
rowMajority
Constructor and Description |
---|
CDFWriter(boolean targetMajority)
Constructs a
CDFWriter of given row majority. |
CDFWriter(GenericReader cdf)
Constructs a
CDFWriter populated
with data from the given GenericReader . |
CDFWriter(java.lang.String fname)
Constructs a column major
CDFWriter populated
with data from the given CDF file. |
CDFWriter(java.lang.String[] files)
Constructs a column major
CDFWriter populated
with data from the given files. |
CDFWriter(java.lang.String[] files,
boolean targetMajority)
Constructs a
CDFWriter of specified row majority,
populated with data from the given files. |
CDFWriter(java.lang.String[] files,
boolean targetMajority,
SelectedVariableCollection col)
Constructs a
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given files. |
CDFWriter(java.lang.String[] files,
SelectedVariableCollection col)
Constructs a column major
CDFWriter populated with
selected variables, and variables they depend on, from the given files. |
CDFWriter(java.lang.String fname,
boolean targetMajority)
Constructs a
CDFWriter of specified row majority,
populated with data from the given file. |
CDFWriter(java.lang.String fname,
boolean targetMajority,
SelectedVariableCollection col)
Constructs a
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given file. |
CDFWriter(java.lang.String fname,
SelectedVariableCollection col)
Constructs a column major
CDFWriter populated with
selected variables, and variables they depend on, from the given file. |
CDFWriter(java.net.URL url)
Constructs a column major
CDFWriter populated
with data from the given URL. |
CDFWriter(java.net.URL[] urls)
Constructs a column major
CDFWriter populated
with data from the given array of URLs. |
CDFWriter(java.net.URL[] urls,
boolean targetMajority)
Constructs a
CDFWriter of specified row majority,
populated with data from the given array of URLs. |
CDFWriter(java.net.URL[] urls,
boolean targetMajority,
SelectedVariableCollection col)
Constructs a
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given array of URLs. |
CDFWriter(java.net.URL[] urls,
SelectedVariableCollection col)
Constructs a column major
CDFWriter populated with
selected variables, and variables they depend on, from the given
array of URLs. |
CDFWriter(java.net.URL url,
boolean targetMajority)
Constructs a
CDFWriter of specified row majority,
populated with data from the given URL. |
CDFWriter(java.net.URL url,
boolean targetMajority,
SelectedVariableCollection col)
Constructs a
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given URL. |
CDFWriter(java.net.URL url,
SelectedVariableCollection col)
Constructs a column major
CDFWriter populated with
selected variables, and variables they depend on, from the given URL. |
Modifier and Type | Method and Description |
---|---|
void |
addCDF(GenericReader cdf)
Adds previously selected variables, and variables they depend on, from
the given
GenericReader .. |
void |
addCDF(java.lang.String fname)
Adds previously selected variables, and variables they depend on, from
the given file.
|
void |
addCDF(java.net.URL url)
Adds previously selected variables, and variables they depend on, from
the given URL.
|
static void |
addToDoNotCheckList(java.lang.String aname)
Adds an attribute to the list of 'not to be monitored' global attributes.
|
java.lang.String[] |
attributesInDoNotCheckList()
Returns names of 'not to be monitored' global attributes.
|
CDFDataType |
getVariableType(java.lang.String name)
return the type of the variable.
|
static void |
removeFromDoNotCheckList(java.lang.String aname)
Removes an attribute from the list 'not to be monitored' global
attributes.
|
static SelectedVariableCollection |
selectorInstance()
Returns a new instance of the
SelectedVariableCollection . |
void |
setLogger(java.util.logging.Logger _logger)
sets a Logger for this class
|
static void |
setLoggerLevel(java.util.logging.Level newLevel)
Sets Level for the default anonymous Logger for this class.If a logger has been set via a call to
setLogger(Logger) ,
this method has no effect |
addData, addData, addData, addData, addGlobalAttributeEntry, addGlobalAttributeEntry, addNRVString, addNRVVariable, addNRVVariable, addNRVVariable, addOneD, addOneD, addOneD, addOneD, addVariableAttributeEntry, addVariableAttributeEntry, defineCompressedStringVariable, defineCompressedTimeSeries, defineCompressedVariable, defineCompressedVariable, defineNRVVariable, defineStringVariable, defineStringVariable, defineStringVariable, defineTimeSeries, defineTimeSeries, defineTimeSeries, defineTimeVariable, defineVariable, defineVariable, defineVariable, defineVariable, defineVariable, defineVariable, hasTimeVariable, setLastLeapSecondId, setMD5Needed, setVariableAttributeEntry, setVariableAttributeEntry, write, write
public CDFWriter(boolean targetMajority)
CDFWriter
of given row majority.bln
- public CDFWriter(GenericReader cdf) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
populated
with data from the given GenericReader
.reader
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.lang.String fname) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
populated
with data from the given CDF file.string
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.lang.String[] files) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
populated
with data from the given files.strings
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.net.URL url) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
populated
with data from the given URL.url
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.net.URL[] urls) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
populated
with data from the given array of URLs.urls
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.lang.String fname, SelectedVariableCollection col) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
populated with
selected variables, and variables they depend on, from the given file.string
- svc
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.lang.String[] files, SelectedVariableCollection col) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
populated with
selected variables, and variables they depend on, from the given files.strings
- svc
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.net.URL url, SelectedVariableCollection col) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
populated with
selected variables, and variables they depend on, from the given URL.url
- svc
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.net.URL[] urls, SelectedVariableCollection col) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
populated with
selected variables, and variables they depend on, from the given
array of URLs.urls
- svc
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.lang.String fname, boolean targetMajority) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
of specified row majority,
populated with data from the given file.string
- bln
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.lang.String[] files, boolean targetMajority) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
of specified row majority,
populated with data from the given files.strings
- bln
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.net.URL url, boolean targetMajority) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
of specified row majority,
populated with data from the given URL.url
- bln
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.net.URL[] urls, boolean targetMajority) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
of specified row majority,
populated with data from the given array of URLs.urls
- bln
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.lang.String fname, boolean targetMajority, SelectedVariableCollection col) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
of specified row majority,
populated with selected variables, and variables they depend on, from
the given file.string
- svc
- bln
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.lang.String[] files, boolean targetMajority, SelectedVariableCollection col) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
of specified row majority,
populated with selected variables, and variables they depend on, from
the given files.strings
- svc
- bln
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.net.URL url, boolean targetMajority, SelectedVariableCollection col) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
of specified row majority,
populated with selected variables, and variables they depend on, from
the given URL.url
- svc
- bln
- CDFException.WriterError
CDFException.ReaderError
public CDFWriter(java.net.URL[] urls, boolean targetMajority, SelectedVariableCollection col) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter
of specified row majority,
populated with selected variables, and variables they depend on, from
the given array of URLs.urls
- svc
- bln
- CDFException.WriterError
CDFException.ReaderError
public void addCDF(java.lang.String fname) throws CDFException.WriterError, CDFException.ReaderError
fname
- CDFException.WriterError
CDFException.ReaderError
public void addCDF(java.net.URL url) throws CDFException.WriterError, CDFException.ReaderError
url
- CDFException.WriterError
CDFException.ReaderError
public void addCDF(GenericReader cdf) throws CDFException.ReaderError, CDFException.WriterError
GenericReader
..cdf
- CDFException.ReaderError
CDFException.WriterError
public CDFDataType getVariableType(java.lang.String name)
name
- public static SelectedVariableCollection selectorInstance()
SelectedVariableCollection
.public void setLogger(java.util.logging.Logger _logger)
_logger
- public static void setLoggerLevel(java.util.logging.Level newLevel)
setLogger(Logger)
,
this method has no effectnewLevel
- public static void addToDoNotCheckList(java.lang.String aname)
aname
- public static void removeFromDoNotCheckList(java.lang.String aname)
aname
- public java.lang.String[] attributesInDoNotCheckList()