public class UniProtLocationParser extends Object
Modifier and Type | Method and Description |
---|---|
static RichLocation |
parseLocation(String loc)
Parses a location.
|
static String |
writeLocation(RichLocation l)
Writes a location in UniProt format.
|
public static RichLocation parseLocation(String loc) throws ParseException
loc
- the UniProt location string.ParseException
- if the parsing failed.public static String writeLocation(RichLocation l)
l
- the location to writeCopyright © 2014 BioJava. All rights reserved.