public class DefaultMonosaccharideLookup extends Object implements MonosaccharideLookup
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_MONOSACCHARIDE_LOOKUP |
| Constructor and Description |
|---|
DefaultMonosaccharideLookup() |
| Modifier and Type | Method and Description |
|---|---|
Monosaccharide |
getNew(String name)
Search for a monosaccharide with the input name the list of known monosaccharides.
|
protected Map<String,Monosaccharide> |
parse(Reader in,
Map<String,Monosaccharide> monosaccharideLookupMap)
Parser for the Monosaccharide Lookup file
|
List<Monosaccharide> |
values()
Return a list of the monosaccharides specified in Monosaccharide Lookup file.
|
public static final String PROPERTY_MONOSACCHARIDE_LOOKUP
public final Monosaccharide getNew(String name)
The method throw an IllegalStateException if there is no monosaccharide with the input name in the list.
getNew in interface MonosaccharideLookupname - the name of the monosaccharidepublic final List<Monosaccharide> values()
values in interface MonosaccharideLookupprotected Map<String,Monosaccharide> parse(Reader in, Map<String,Monosaccharide> monosaccharideLookupMap)
Copyright © 2016. All Rights Reserved.