com.partnersoft.codex
Class TextResourceFactory

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

public class TextResourceFactory
extends java.lang.Object
implements ResourceFactory

Author:
Russell Cagle Copyright 2006 Partner Software, Inc.

Constructor Summary
TextResourceFactory(java.lang.String text)
           
 
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

TextResourceFactory

public TextResourceFactory(java.lang.String text)
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