diff --git a/src/org/stringtemplate/v4/STGroupFile.java b/src/org/stringtemplate/v4/STGroupFile.java index b80d4f49..e6fa69b7 100644 --- a/src/org/stringtemplate/v4/STGroupFile.java +++ b/src/org/stringtemplate/v4/STGroupFile.java @@ -110,6 +110,9 @@ public STGroupFile(URL url, String encoding, this.fileName = null; } + /** Convenience ctor */ + public STGroupFile(URL url) { this(url, "UTF-8",'<', '>'); } + @Override public boolean isDictionary(String name) { if ( !alreadyLoaded ) load();