|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthredds.catalog.crawl.CatalogExtractor
public class CatalogExtractor
Utilities for extracting info from a catalog.
Constructor Summary | |
---|---|
CatalogExtractor(boolean verbose)
Constuctor |
Method Summary | |
---|---|
void |
copy(String catUrl,
String copyToDir,
CancelTask task)
|
void |
extract(PrintStream out,
String catUrl,
int type,
boolean skipDatasetScan,
CancelTask task)
|
void |
extractLoop(PrintStream out,
String catUrl,
int type,
boolean skipDatasetScan,
CancelTask task)
|
boolean |
extractTypedDatasetInfo(PrintStream out,
InvDataset ds)
|
boolean |
getCatalogRef(InvCatalogRef dd,
Object context)
Gets called for each catalogRef found |
void |
getDataset(InvDataset ds,
Object context)
Gets called for each dataset found. |
boolean |
openDataset(PrintStream out,
InvDataset ds)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CatalogExtractor(boolean verbose)
verbose
- output status messagesMethod Detail |
---|
public void copy(String catUrl, String copyToDir, CancelTask task) throws IOException
IOException
public void extractLoop(PrintStream out, String catUrl, int type, boolean skipDatasetScan, CancelTask task) throws IOException
IOException
public void extract(PrintStream out, String catUrl, int type, boolean skipDatasetScan, CancelTask task) throws IOException
IOException
public void getDataset(InvDataset ds, Object context)
CatalogCrawler.Listener
getDataset
in interface CatalogCrawler.Listener
ds
- the datasetcontext
- caller can pass this object in (used for thread safety)public boolean getCatalogRef(InvCatalogRef dd, Object context)
CatalogCrawler.Listener
getCatalogRef
in interface CatalogCrawler.Listener
dd
- the datasetcontext
- caller can pass this object in (used for thread safety)
public boolean openDataset(PrintStream out, InvDataset ds)
public boolean extractTypedDatasetInfo(PrintStream out, InvDataset ds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |