summaryrefslogtreecommitdiff
path: root/javax/imageio
diff options
context:
space:
mode:
authorSven de Marothy <sven@physto.se>2006-06-26 16:06:30 +0000
committerSven de Marothy <sven@physto.se>2006-06-26 16:06:30 +0000
commitcb6f2dd309554aa8a3cb1a999d770dafbe72ab5a (patch)
treed4621c0870bf020f492c0d48193be051ee555049 /javax/imageio
parenta91acd07fa7a7b31a322b644b6d3270ec46b89c2 (diff)
downloadclasspath-cb6f2dd309554aa8a3cb1a999d770dafbe72ab5a.tar.gz
2006-06-26 Sven de Marothy <sven@physto.se>
* gnu/javax/imageio/gif/GIFFile.java * gnu/javax/imageio/gif/GIFImageReader.java * gnu/javax/imageio/gif/GIFImageSpi.java * gnu/javax/imageio/gif/GIFStream.java New files. * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
Diffstat (limited to 'javax/imageio')
-rw-r--r--javax/imageio/spi/IIORegistry.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/javax/imageio/spi/IIORegistry.java b/javax/imageio/spi/IIORegistry.java
index 3e9b2c289..fae75239a 100644
--- a/javax/imageio/spi/IIORegistry.java
+++ b/javax/imageio/spi/IIORegistry.java
@@ -45,6 +45,7 @@ import java.awt.Toolkit;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
+import gnu.javax.imageio.gif.GIFImageReaderSpi;
public final class IIORegistry extends ServiceRegistry
{
@@ -81,7 +82,7 @@ public final class IIORegistry extends ServiceRegistry
super(defaultCategories.iterator());
// XXX: Register built-in Spis here.
-
+ registerServiceProvider(new GIFImageReaderSpi()); // Register GIF decoder
Toolkit toolkit = Toolkit.getDefaultToolkit();
if (toolkit instanceof ClasspathToolkit)
((ClasspathToolkit)toolkit).registerImageIOSpis(this);