File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
fj-doc-mod-fop/src/main/java/org/fugerit/java/doc/mod/fop/config Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,24 @@ public String getFopConfigPath() {
3030 public ResourceResolver getCustomResourceResolver () {
3131 return customResourceResolver ;
3232 }
33-
33+
34+ /**
35+ * Provided only for compatibility
36+ *
37+ * @param fopConfigPath
38+ * @param defaultFontPath
39+ *
40+ * @deprecated use instaed the other constructors or the xml configuration, see [0.5.2](https://github.com/fugerit-org/fj-doc/issues/7)
41+ */
42+ @ Deprecated
43+ public FopConfigClassLoader (String fopConfigPath , String defaultFontPath ) {
44+ this ( fopConfigPath , new ClassLoaderResourceResolver ( defaultFontPath ) );
45+ }
46+
47+ public FopConfigClassLoader (String fopConfigPath ) {
48+ this ( fopConfigPath , new ClassLoaderResourceResolverWrapper () );
49+ }
50+
3451 public FopConfigClassLoader (String fopConfigPath , ResourceResolver customResourceResolver ) {
3552 super ();
3653 this .fopConfigPath = fopConfigPath ;
You can’t perform that action at this time.
0 commit comments