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.
|
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.
|
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, writepublic CDFWriter(boolean targetMajority)
CDFWriter of given row majority.targetMajority - A flag indicating whether the target CDF is row majorpublic CDFWriter(GenericReader cdf) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter populated
with data from the given GenericReader.cdf - A GenericReader objectCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic CDFWriter(java.lang.String fname)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated
with data from the given CDF file.fname - The output CDF file nameCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic CDFWriter(java.lang.String[] files)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated
with data from the given files.files - An array of CDF file namesCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic CDFWriter(java.net.URL url)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated
with data from the given URL.url - An URLCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic CDFWriter(java.net.URL[] urls)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated
with data from the given array of URLs.urls - An array of URLCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic 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.fname - the output file namecol - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic 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.files - An array of file namescol - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic 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 - a URL objectcol - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic 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 - an array of URLscol - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic CDFWriter(java.lang.String fname,
boolean targetMajority)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter of specified row majority,
populated with data from the given file.fname - the CDF file nametargetMajority - A flag indicating whether the target CDF is row majorCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic CDFWriter(java.lang.String[] files,
boolean targetMajority)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter of specified row majority,
populated with data from the given files.files - An array of file namestargetMajority - A flag indicating whether the target CDF is row majorCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic 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 - A URL objecttargetMajority - A flag indicating whether the target CDF is row majorCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic 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 - An array of URLstargetMajority - A flag indicating whether the target CDF is row majorCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic 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.fname - the CDF file nametargetMajority - A flag indicating whether the target CDF is row majorcol - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic 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.files - An array of file namestargetMajority - A flag indicating whether the target CDF is row majorcol - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic 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 - A URL objecttargetMajority - A flag indicating whether the target CDF is row majorcol - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic 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 - An array of URLstargetMajority - A flag indicating whether the target CDF is row majorcol - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic void addCDF(java.lang.String fname)
throws CDFException.WriterError,
CDFException.ReaderError
fname - The CDF file nameCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic void addCDF(java.net.URL url)
throws CDFException.WriterError,
CDFException.ReaderError
url - The URL objectCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic void addCDF(GenericReader cdf) throws CDFException.ReaderError, CDFException.WriterError
GenericReader..cdf - The CDF GenericReader objectCDFException.WriterError - if an error is encountered while writing the CDFCDFException.ReaderError - if an error is encountered while reading the CDFpublic static SelectedVariableCollection selectorInstance()
SelectedVariableCollection.public void setLogger(java.util.logging.Logger _logger)
_logger - the loggerpublic static void setLoggerLevel(java.util.logging.Level newLevel)
setLogger(Logger logger),
this method has no effectnewLevel - The level of loggerpublic static void addToDoNotCheckList(java.lang.String aname)
aname - The name of a global attribute added to the not to be monitored list.public static void removeFromDoNotCheckList(java.lang.String aname)
aname - The name of a global attribute removed to the not to be monitored listpublic java.lang.String[] attributesInDoNotCheckList()