public class DatasetNamer extends Object
Title: Catalog Generator
Description: Tool for generating THREDDS catalogs.
Copyright: Copyright (c) 2001
Company: UCAR/Unidata
Modifier and Type | Field and Description |
---|---|
protected Pattern |
regExpPattern |
Constructor and Description |
---|
DatasetNamer(InvDataset parentDs,
String name,
boolean addLevel,
thredds.cataloggen.config.DatasetNamerType type,
String matchPattern,
String substitutePattern,
String attribContainer,
String attribName)
Constructor
|
DatasetNamer(InvDataset parentDs,
String name,
String addLevelBoolean,
String typeName,
String matchPattern,
String substitutePattern,
String attribContainer,
String attribName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAddLevel()
Return the value of the addLevel attribute of this DatasetNamer.
|
String |
getAttribContainer()
Return the value of the attribContainer attribute of this DatasetNamer.
|
String |
getAttribName()
Return the value of the attribName attribute of this DatasetNamer.
|
String |
getMatchPattern()
Return the value of the matchPattern attribute of this DatasetNamer.
|
String |
getName()
Return the name of this DatasetNamer.
|
InvDataset |
getParentDataset()
Return the parent dataset of this DatasetNamer
|
String |
getSubstitutePattern()
Return the value of the substitutePattern attribute of this DatasetNamer.
|
thredds.cataloggen.config.DatasetNamerType |
getType()
Return the type attribute of this DatasetNamer.
|
boolean |
nameDataset(InvDatasetImpl dataset)
Try to name the given dataset.
|
boolean |
nameDatasetList(List datasetList)
Try to name the given dataset.
|
String |
toString()
string representation
|
protected Pattern regExpPattern
public DatasetNamer(InvDataset parentDs, String name, String addLevelBoolean, String typeName, String matchPattern, String substitutePattern, String attribContainer, String attribName)
parentDs
- name
- addLevelBoolean
- typeName
- matchPattern
- substitutePattern
- attribContainer
- attribName
- public DatasetNamer(InvDataset parentDs, String name, boolean addLevel, thredds.cataloggen.config.DatasetNamerType type, String matchPattern, String substitutePattern, String attribContainer, String attribName)
parentDs
- name
- addLevel
- type
- matchPattern
- substitutePattern
- attribContainer
- attribName
- public InvDataset getParentDataset()
public String getName()
public boolean getAddLevel()
public thredds.cataloggen.config.DatasetNamerType getType()
public String getMatchPattern()
public String getSubstitutePattern()
public String getAttribContainer()
public String getAttribName()
public boolean nameDataset(InvDatasetImpl dataset)
Copyright © 1999–2013 UCAR/Unidata. All rights reserved.