import fr.orsay.lri.varna.exceptions.ExceptionFileFormatOrSyntax;\r
import fr.orsay.lri.varna.exceptions.ExceptionLoadingFailed;\r
import fr.orsay.lri.varna.exceptions.ExceptionPermissionDenied;\r
+import fr.orsay.lri.varna.exceptions.ExceptionUnmatchedClosingParentheses;\r
\r
import jalview.analysis.SequenceIdMatcher;\r
import jalview.datamodel.*;\r
* @throws ExceptionLoadingFailed \r
* @throws ExceptionPermissionDenied \r
* @throws InterruptedException \r
+ * @throws ExceptionUnmatchedClosingParentheses \r
*/\r
- public FeaturesFile(String inFile, String type) throws IOException, ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException\r
+ public FeaturesFile(String inFile, String type) throws IOException, ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException, ExceptionUnmatchedClosingParentheses\r
{\r
super(inFile, type);\r
}\r
\r
- public FeaturesFile(FileParse source) throws IOException, ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException\r
+ public FeaturesFile(FileParse source) throws IOException, ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException, ExceptionUnmatchedClosingParentheses\r
{\r
super(source);\r
}\r
* @return true if features were added\r
*/\r
public boolean parse(AlignmentI align, \r
- Hashtable colours, boolean removeHTML, boolean relaxedIdMatching)\r
+ Map colours, boolean removeHTML, boolean relaxedIdMatching)\r
{\r
return parse(align, colours, null, removeHTML, relaxedIdMatching);\r
}\r
* @param removeHTML - process html strings into plain text\r
* @return true if features were added\r
*/\r
- public boolean parse(AlignmentI align, Hashtable colours,\r
- Hashtable featureLink, boolean removeHTML)\r
+ public boolean parse(AlignmentI align, Map colours,\r
+ Map featureLink, boolean removeHTML)\r
{\r
return parse(align, colours, featureLink, removeHTML, false);\r
}\r
* @return true if features were added\r
*/\r
public boolean parse(AlignmentI align,\r
- Hashtable colours, Hashtable featureLink, boolean removeHTML, boolean relaxedIdmatching)\r
+ Map colours, Map featureLink, boolean removeHTML, boolean relaxedIdmatching)\r
{\r
\r
String line = null;\r
StringTokenizer st;\r
SequenceFeature sf;\r
String featureGroup = null, groupLink = null;\r
- Hashtable typeLink = new Hashtable();\r
+ Map typeLink = new Hashtable();\r
/**\r
* when true, assume GFF style features rather than Jalview style.\r
*/\r