int nextQuotePos = descriptor.indexOf(QUOTE, 1);
if (nextQuotePos == -1)
{
- System.err.println(invalidFormat);
+ jalview.bin.Console.errPrintln(invalidFormat);
return null;
}
firstField = descriptor.substring(1, nextQuotePos);
int nextSpacePos = descriptor.indexOf(SPACE);
if (nextSpacePos == -1)
{
- System.err.println(invalidFormat);
+ jalview.bin.Console.errPrintln(invalidFormat);
return null;
}
firstField = descriptor.substring(0, nextSpacePos);
cond = Condition.fromString(leftToParse);
if (cond == null || cond.needsAPattern())
{
- System.err.println(invalidFormat);
+ jalview.bin.Console.errPrintln(invalidFormat);
return null;
}
}
else
{
// unbalanced quote
- System.err.println(invalidFormat);
+ jalview.bin.Console.errPrintln(invalidFormat);
return null;
}
}
byLabel = forLabel;
byScore = forScore;
}
+
@Override
public boolean matches(SequenceFeature feature)
{
}
/**
- * Answers a string description of this matcher, suitable for display, debugging
- * or logging. The format may change in future.
+ * Answers a string description of this matcher, suitable for display,
+ * debugging or logging. The format may change in future.
*/
@Override
public String toString()
sb.append(displayName);
}
}
-
+
Condition condition = matcher.getCondition();
sb.append(SPACE).append(condition.getStableName());
String pattern = matcher.getPattern();
sb.append(SPACE).append(pattern);
}
}
-
+
return sb.toString();
}
}