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.
- Author:
- Mark Donszelmann
|
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 © 2012. All Rights Reserved.