org.javagen.agile.core.emitter
Class DefaultWriterFactory
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWriterFactory
public DefaultWriterFactory()
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.