public class DefaultSubstituentLookup extends Object implements SubstituentLookup
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_SUBSTITUENT_LOOKUP |
| Constructor and Description |
|---|
DefaultSubstituentLookup() |
| Modifier and Type | Method and Description |
|---|---|
Substituent |
getNew(String name)
Search for a substituent with the input name the list of known substituents.
|
protected Map<String,Substituent> |
parse(Reader in,
Map<String,Substituent> substituentLookupMap)
Parser for the Substituent Lookup file
|
List<Substituent> |
values()
Return a list of the substituents specified in Substituent Lookup file.
|
public static final String PROPERTY_SUBSTITUENT_LOOKUP
public final Substituent getNew(String name)
The method throw an IllegalStateException if there is no substituent with the input name in the list.
getNew in interface SubstituentLookupname - the name of the substituentpublic final List<Substituent> values()
values in interface SubstituentLookupprotected Map<String,Substituent> parse(Reader in, Map<String,Substituent> substituentLookupMap)
Copyright © 2016. All Rights Reserved.