edu.byu.ece.edif.util.jsap.commandgroups
Class JEdifOutputCommandGroup

java.lang.Object
  extended by edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
      extended by edu.byu.ece.edif.util.jsap.commandgroups.OutputFileCommandGroup
          extended by edu.byu.ece.edif.util.jsap.commandgroups.JEdifOutputCommandGroup
All Implemented Interfaces:
CommandGroup

public class JEdifOutputCommandGroup
extends OutputFileCommandGroup

This class is used output JEdif files. It can optionally prune unused cells and defaults to .jedif if no extension is specified.

Author:
Derrick Gibelyou

Field Summary
(package private)  com.martiansoftware.jsap.Switch _deleteOldCells
           
protected static java.lang.String NO_DELETE_CELLS
           
 
Fields inherited from class edu.byu.ece.edif.util.jsap.commandgroups.OutputFileCommandGroup
_output_file, OUTPUT_OPTION, OUTPUT_OPTION_SHORT
 
Fields inherited from class edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
_options
 
Constructor Summary
JEdifOutputCommandGroup()
           
 
Method Summary
static boolean getNoDelete(com.martiansoftware.jsap.JSAPResult result)
           
static void serializeObject(java.io.PrintStream out, com.martiansoftware.jsap.JSAPResult result, EdifEnvironment environ)
          Serializes an object
static void serializeObjects(java.io.PrintStream out, com.martiansoftware.jsap.JSAPResult result, java.util.Collection objects)
           
 
Methods inherited from class edu.byu.ece.edif.util.jsap.commandgroups.OutputFileCommandGroup
getOutputFileName, getOutputStream, serializeObject, serializeObjects, setDefaultFilename
 
Methods inherited from class edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
addCommand, getCommands
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_deleteOldCells

com.martiansoftware.jsap.Switch _deleteOldCells

NO_DELETE_CELLS

protected static final java.lang.String NO_DELETE_CELLS
See Also:
Constant Field Values
Constructor Detail

JEdifOutputCommandGroup

public JEdifOutputCommandGroup()
Method Detail

getNoDelete

public static boolean getNoDelete(com.martiansoftware.jsap.JSAPResult result)

serializeObject

public static void serializeObject(java.io.PrintStream out,
                                   com.martiansoftware.jsap.JSAPResult result,
                                   EdifEnvironment environ)
Serializes an object

Parameters:
out: - PrintStream for errors/info
result: - JSAP commandline results
obj: - Object to serialize

serializeObjects

public static void serializeObjects(java.io.PrintStream out,
                                    com.martiansoftware.jsap.JSAPResult result,
                                    java.util.Collection objects)