com.partnersoft.codex
Class CogResourceFactory

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

public class CogResourceFactory
extends java.lang.Object
implements ResourceFactory

Author:
Russell Cagle Copyright 2006 Partner Software, Inc.

Constructor Summary
CogResourceFactory(Cog cog)
           
 
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

CogResourceFactory

public CogResourceFactory(Cog cog)
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