]> source.dussan.org Git - xmlgraphics-fop.git/commit
Bugzilla #42278:
authorJeremias Maerki <jeremias@apache.org>
Fri, 29 Jun 2007 12:46:14 +0000 (12:46 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 29 Jun 2007 12:46:14 +0000 (12:46 +0000)
commit67a9815afa925606d13e13488e5539a57deb5bb2
treeb423af5c05f0dead3721e25f0968cdd53ce4cc55
parent8a25e4a1b1ed7100b656913ad311138d54cae943
Bugzilla #42278:
Refactoring of color map cache and uri/fo resolution from FopFactory
Submitted by: Adrian Cumiskey <fop-dev@cumiskey.com>

Changes in addition to the patch by jeremias:
- Moved the color map cache to the util package so it doesn't clutter the API (apps) package.
- Factored out the data URL resolution into its own URIResolver class which can now be used separately.
- Added a utility class for generating RFC2397 data URLs.
- Added a unit test for data URL handling.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@551874 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/apps/FOURIResolver.java
src/java/org/apache/fop/apps/FOUserAgent.java
src/java/org/apache/fop/apps/FopFactory.java
src/java/org/apache/fop/util/ColorSpaceCache.java [new file with mode: 0644]
src/java/org/apache/fop/util/DataURIResolver.java [new file with mode: 0644]
src/java/org/apache/fop/util/DataURLUtil.java [new file with mode: 0644]
src/java/org/apache/fop/util/WriterOutputStream.java [new file with mode: 0644]
test/java/org/apache/fop/UtilityCodeTestSuite.java
test/java/org/apache/fop/util/DataURIResolverTestCase.java [new file with mode: 0644]