|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectthredds.catalog.dl.DIFWriter
public class DIFWriter
| Constructor Summary | |
|---|---|
DIFWriter()
|
|
| Method Summary | |
|---|---|
void |
doOneDataset(InvDataset ds)
Write a DIF record for a specific dataset |
void |
doOneDataset(InvDataset ds,
String fileDir,
StringBuffer mess)
Write a DIF record for a specific dataset |
boolean |
isDatasetUseable(InvDataset ds,
StringBuffer sbuff)
See if a dataset is harvestable to a DIF record. |
static void |
main(String[] args)
testing |
void |
writeDatasetEntries(InvCatalogImpl cat,
String fileDir,
StringBuffer mess)
Write all harvestable datasets to DIF records that have at least the minimum metadata. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DIFWriter()
| Method Detail |
|---|
public void writeDatasetEntries(InvCatalogImpl cat,
String fileDir,
StringBuffer mess)
cat - harvest the datasets starting from herefileDir - write records to this directory. The dataset id is used as the filename, appending "dif.xml"mess - status messages are appended herepublic void doOneDataset(InvDataset ds)
ds - use this dataset
public void doOneDataset(InvDataset ds,
String fileDir,
StringBuffer mess)
ds - use this datasetfileDir - write records to this directory. The dataset id is used as the filename, appending "dif.xml"mess - status messages are appended here
public boolean isDatasetUseable(InvDataset ds,
StringBuffer sbuff)
ds - check this dataset.sbuff - put status messages here.
public static void main(String[] args)
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||