org.freehep.graphicsio.exportchooser
Class ImageIOExportFileType
java.lang.Object
org.freehep.graphicsio.exportchooser.ImageIOExportFileType
- All Implemented Interfaces:
- RegisterableService
- public class ImageIOExportFileType
- extends Object
- implements 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,v 1.5 2003/06/11 18:59:10 duns Exp $
- Author:
- Mark Donszelmann
- Source Code:
- ImageIOExportFileType.java
Constructor Summary |
ImageIOExportFileType()
This constructor will construct register all image formats available
in ImageIO into ExportFileTypeRegistry. |
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(ServiceRegistry registry,
Class category)
- Specified by:
onRegistration
in interface RegisterableService
onDeregistration
public void onDeregistration(ServiceRegistry registry,
Class category)
- Specified by:
onDeregistration
in interface RegisterableService
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2000-2004 FreeHEP, All Rights Reserved.