public class UniProtLocationParser
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static RichLocation |
parseLocation(java.lang.String loc)
Parses a location.
|
static java.lang.String |
writeLocation(RichLocation l)
Writes a location in UniProt format.
|
public static RichLocation parseLocation(java.lang.String loc) throws ParseException
loc - the UniProt location string.ParseException - if the parsing failed.public static java.lang.String writeLocation(RichLocation l)
l - the location to write