org.freehep.graphicsio.exportchooser
Class ImageIOExportFileType
java.lang.Object
org.freehep.graphicsio.exportchooser.ImageIOExportFileType
- All Implemented Interfaces:
- javax.imageio.spi.RegisterableService
public class ImageIOExportFileType
- extends java.lang.Object
- implements javax.imageio.spi.RegisterableService
This class does not work, since the ExportFileTypeRegistry stores Objects by
class. If we automatically generate ImageFileTypes by ImageIO they end up
being all different objects from the same class. The Registry currently then
overwrites the first one with the second and so on. Sun Bug #Submitted.
- Version:
- $Id: ImageIOExportFileType.java 10516 2007-02-06 21:11:19Z duns $
- Author:
- Mark Donszelmann
Constructor Summary |
ImageIOExportFileType()
This constructor will construct register all image formats available in
ImageIO into ExportFileTypeRegistry. |
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
onDeregistration(javax.imageio.spi.ServiceRegistry registry,
java.lang.Class category)
|
void |
onRegistration(javax.imageio.spi.ServiceRegistry registry,
java.lang.Class category)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageIOExportFileType
public ImageIOExportFileType()
- This constructor will construct register all image formats available in
ImageIO into ExportFileTypeRegistry. The ImageExportFileTypeRegistration
will deregister itself immediately.
onRegistration
public void onRegistration(javax.imageio.spi.ServiceRegistry registry,
java.lang.Class category)
- Specified by:
onRegistration
in interface javax.imageio.spi.RegisterableService
onDeregistration
public void onDeregistration(javax.imageio.spi.ServiceRegistry registry,
java.lang.Class category)
- Specified by:
onDeregistration
in interface javax.imageio.spi.RegisterableService
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2000-2007 FreeHEP. All Rights Reserved.