org.javagen.agile.core.emitter
Class DefaultWriterFactory

java.lang.Object
  extended by org.javagen.agile.core.emitter.DefaultWriterFactory
All Implemented Interfaces:
WriterFactory

public class DefaultWriterFactory
extends Object
implements WriterFactory

This default WriterFactory just creates a FileWriter instance after making sure the parent directory exists.

Author:
Richard Easterling

Constructor Summary
DefaultWriterFactory()
           
 
Method Summary
 Writer createWriter(File outputFile)
          Create an output sink given a output file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWriterFactory

public DefaultWriterFactory()
Method Detail

createWriter

public Writer createWriter(File outputFile)
Create an output sink given a output file.

Specified by:
createWriter in interface WriterFactory


Copyright 2006-2006-2007 Outsource Cafe Inc.. All Rights Reserved.