com.partnersoft.codex
Class ImageResourceFactory

java.lang.Object
  extended by com.partnersoft.codex.ImageResourceFactory
All Implemented Interfaces:
ResourceFactory

public class ImageResourceFactory
extends java.lang.Object
implements ResourceFactory

Author:
Russell Cagle Copyright 2006 Partner Software, Inc.

Constructor Summary
ImageResourceFactory(java.awt.Image image)
           
 
Method Summary
 void createResource(java.io.File file, java.lang.String name)
          Writes the initial bytes out to a file.
 java.lang.String getDefaultExtension()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageResourceFactory

public ImageResourceFactory(java.awt.Image image)
Method Detail

createResource

public void createResource(java.io.File file,
                           java.lang.String name)
                    throws java.io.IOException
Description copied from interface: ResourceFactory
Writes the initial bytes out to a file.

Specified by:
createResource in interface ResourceFactory
Throws:
java.io.IOException

getDefaultExtension

public java.lang.String getDefaultExtension()
Specified by:
getDefaultExtension in interface ResourceFactory