zeus.generator.code
Class Writer

java.lang.Object
  extended byzeus.generator.code.Writer
Direct Known Subclasses:
AgentWriter, ScriptWriter, TaskWriter

public class Writer
extends java.lang.Object


Field Summary
protected  java.lang.String directory
           
protected  GeneratorModel genmodel
           
protected  GenerationPlan genplan
           
private static char[] SEPARATORS
           
protected static java.lang.String standard_disclaimer
           
protected  javax.swing.JTextArea textArea
           
static int UNIX
           
static int WINDOWS
           
static int ZEUS
           
 
Constructor Summary
Writer(GenerationPlan genplan, GeneratorModel genmodel, java.lang.String directory, javax.swing.JTextArea textArea)
           
 
Method Summary
protected  java.io.PrintWriter createFile(java.lang.String name)
           
static java.lang.String updateFilename(java.lang.String input, int to)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

standard_disclaimer

protected static final java.lang.String standard_disclaimer
See Also:
Constant Field Values

UNIX

public static final int UNIX
See Also:
Constant Field Values

WINDOWS

public static final int WINDOWS
See Also:
Constant Field Values

ZEUS

public static final int ZEUS
See Also:
Constant Field Values

SEPARATORS

private static final char[] SEPARATORS

genplan

protected GenerationPlan genplan

genmodel

protected GeneratorModel genmodel

directory

protected java.lang.String directory

textArea

protected javax.swing.JTextArea textArea
Constructor Detail

Writer

public Writer(GenerationPlan genplan,
              GeneratorModel genmodel,
              java.lang.String directory,
              javax.swing.JTextArea textArea)
Method Detail

updateFilename

public static java.lang.String updateFilename(java.lang.String input,
                                              int to)

createFile

protected java.io.PrintWriter createFile(java.lang.String name)
                                  throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.