aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/apps/FopFactoryBuilder.java
diff options
context:
space:
mode:
authorMehdi Houshmand <mehdi@apache.org>2012-06-11 14:35:57 +0000
committerMehdi Houshmand <mehdi@apache.org>2012-06-11 14:35:57 +0000
commit24664f14599a17792b0704ae352702407cb5c0e0 (patch)
tree59683751374bde46ab68937c4bca3f600203d1a0 /src/java/org/apache/fop/apps/FopFactoryBuilder.java
parent991d69ab0cb29b8efe1fa3efc72ef16a1065e450 (diff)
downloadxmlgraphics-fop-24664f14599a17792b0704ae352702407cb5c0e0.tar.gz
xmlgraphics-fop-24664f14599a17792b0704ae352702407cb5c0e0.zip
Removed AFP resource handling mechanism in favour of a unified resource resolver
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1348871 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/apps/FopFactoryBuilder.java')
-rw-r--r--src/java/org/apache/fop/apps/FopFactoryBuilder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/apps/FopFactoryBuilder.java b/src/java/org/apache/fop/apps/FopFactoryBuilder.java
index b2d134db0..013b15efe 100644
--- a/src/java/org/apache/fop/apps/FopFactoryBuilder.java
+++ b/src/java/org/apache/fop/apps/FopFactoryBuilder.java
@@ -33,9 +33,9 @@ import org.apache.avalon.framework.configuration.Configuration;
import org.apache.xmlgraphics.image.loader.ImageContext;
import org.apache.xmlgraphics.image.loader.ImageManager;
-import org.apache.fop.apps.io.DefaultResourceResolver;
import org.apache.fop.apps.io.FOURIResolver;
import org.apache.fop.apps.io.ResourceResolver;
+import org.apache.fop.apps.io.ResourceResolverFactory;
import org.apache.fop.fonts.FontManager;
import org.apache.fop.hyphenation.HyphenationTreeResolver;
import org.apache.fop.layoutmgr.LayoutManagerMaker;
@@ -70,7 +70,7 @@ public final class FopFactoryBuilder {
* @param defaultBaseURI the default base URI for resolving URIs against
*/
public FopFactoryBuilder(URI defaultBaseURI) {
- this(defaultBaseURI, new DefaultResourceResolver());
+ this(defaultBaseURI, ResourceResolverFactory.createDefaultResourceResolver());
}
/**