1.1 --- a/java/alt2xml-lib-input/src/cz/frantovo/alt2xml/Alt2XmlRegexReaderFactory.java Sun Jun 08 00:01:29 2014 +0200
1.2 +++ b/java/alt2xml-lib-input/src/cz/frantovo/alt2xml/Alt2XmlRegexReaderFactory.java Sun Jun 08 09:53:51 2014 +0200
1.3 @@ -30,7 +30,7 @@
1.4 protected abstract Pattern getSystemIdPattern();
1.5
1.6 @Override
1.7 - public boolean canRead(String systemId) {
1.8 - return getSystemIdPattern().matcher(systemId).matches();
1.9 + public boolean canRead(AltInputSource inputSource) {
1.10 + return getSystemIdPattern().matcher(inputSource.getSystemId()).matches();
1.11 }
1.12 }