in-ini: recognize extensions: ini, desktop, directory
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 06 Sep 2014 21:14:48 +0200
changeset 87233907073718
parent 86 1d31d9cd28c8
child 88 9860586b3b87
in-ini: recognize extensions: ini, desktop, directory
java/alt2xml-in-ini/src/cz/frantovo/alt2xml/in/ini/ReaderFactory.java
     1.1 --- a/java/alt2xml-in-ini/src/cz/frantovo/alt2xml/in/ini/ReaderFactory.java	Sat Sep 06 20:52:58 2014 +0200
     1.2 +++ b/java/alt2xml-in-ini/src/cz/frantovo/alt2xml/in/ini/ReaderFactory.java	Sat Sep 06 21:14:48 2014 +0200
     1.3 @@ -27,7 +27,7 @@
     1.4   */
     1.5  public class ReaderFactory extends Alt2XmlRegexReaderFactory {
     1.6  
     1.7 -	private static final Pattern pattern = Pattern.compile("^.*\\.(ini|desktop)$");
     1.8 +	private static final Pattern pattern = Pattern.compile("^.*\\.(ini|desktop|directory)$");
     1.9  
    1.10  	@Override
    1.11  	protected Pattern getSystemIdPattern() {