- System.out.println("\n\n\n");
- System.out.println("Link " + i + " " + links[i] + " : "
- + ul.toString());
- System.out.println(" pref : " + ul.getUrl_prefix());
- System.out.println(" IdReplace : " + ul.getIDRegexReplace());
- System.out.println(" SeqReplace : " + ul.getSeqRegexReplace());
- System.out.println(" Suffixes : " + ul.getUrl_suffix());
-
- System.out
- .println("<insert input id and sequence strings here> Without onlyIfMatches:");
- Object[] urls = ul.makeUrls(seqsandids[0], seqsandids[1],
- "mydataset", false);
- testUrls(ul, seqsandids, urls);
- System.out
- .println("<insert input id and sequence strings here> With onlyIfMatches set:");
- urls = ul.makeUrls(seqsandids[0], seqsandids[1], "mydataset", true);
- testUrls(ul, seqsandids, urls);
+ jalview.bin.Console.outPrintln("\n\n\n");
+ jalview.bin.Console.outPrintln(
+ "Link " + i + " " + links[i] + " : " + ul.toString());
+ jalview.bin.Console.outPrintln(" pref : " + ul.getUrl_prefix());
+ jalview.bin.Console
+ .outPrintln(" IdReplace : " + ul.getIDRegexReplace());
+ jalview.bin.Console
+ .outPrintln(" SeqReplace : " + ul.getSeqRegexReplace());
+ jalview.bin.Console.outPrintln(" Suffixes : " + ul.getUrl_suffix());
+
+ jalview.bin.Console.outPrintln(
+ "<insert input id and sequence strings here> Without onlyIfMatches:");
+ Object[] urls;
+ try
+ {
+ urls = ul.makeUrls(seqsandids[0], seqsandids[1], "mydataset",
+ false);
+ testUrls(ul, seqsandids, urls);
+ } catch (UrlStringTooLongException ex)
+ {
+ jalview.bin.Console.outPrintln("too long exception " + ex);
+ }
+ jalview.bin.Console.outPrintln(
+ "<insert input id and sequence strings here> With onlyIfMatches set:");
+ try
+ {
+ urls = ul.makeUrls(seqsandids[0], seqsandids[1], "mydataset",
+ true);
+ testUrls(ul, seqsandids, urls);
+ } catch (UrlStringTooLongException ex)
+ {
+ jalview.bin.Console.outPrintln("too long exception " + ex);
+ }