public class JBerdAliasDB
extends java.lang.Object
| Constructor and Description |
|---|
JBerdAliasDB(java.lang.String inFile)
Create an alias DB from an input file
|
| Modifier and Type | Method and Description |
|---|---|
JBerdAlias |
getByAlias(java.lang.String alias)
Query the db by providing an alias name, returning an alias with the
associated details
|
JBerdAlias |
getByTagPath(java.lang.String tagPath)
Query the db by providing a tag path, returning an alias with the
associated details
|
public JBerdAliasDB(java.lang.String inFile)
throws BERException
inFile - A CSV file containing alias information. Field 1 must
contain the tagpath, field 2 the alias and field 3 the rendering
(optional - defaults to NATIVE)BERException - in the case of error, details are in the msgpublic final JBerdAlias getByAlias(java.lang.String alias)
alias - The alias namepublic final JBerdAlias getByTagPath(java.lang.String tagPath)
tagPath - the aliased tagpath