edu.byu.ece.edif.core
Class EdifComment

java.lang.Object
  extended by edu.byu.ece.edif.core.EdifComment
All Implemented Interfaces:
EdifOut

public class EdifComment
extends java.lang.Object
implements EdifOut

Represents an EDIF comment.

EdifEnvironment (status) EdifLibrary EdifCell EdifCellInterface EdifPort EdifDesign EdifNet Property


Field Summary
protected  java.util.List<java.lang.String> _comments
          A list of String objects that represent the comment.
 
Constructor Summary
EdifComment()
           
EdifComment(java.util.List<java.lang.String> commentLines)
           
EdifComment(java.lang.String commentLine)
           
 
Method Summary
 void addCommentLine(java.lang.String line)
           
 java.lang.String getLine(int i)
           
 void toEdif(EdifPrintWriter epw)
          This method will convert the interfacing object into EDIF format and write it to the passed-in EdifPrintWriter Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_comments

protected java.util.List<java.lang.String> _comments
A list of String objects that represent the comment.

Constructor Detail

EdifComment

public EdifComment()

EdifComment

public EdifComment(java.util.List<java.lang.String> commentLines)

EdifComment

public EdifComment(java.lang.String commentLine)
Method Detail

addCommentLine

public void addCommentLine(java.lang.String line)

toEdif

public void toEdif(EdifPrintWriter epw)
Description copied from interface: EdifOut
This method will convert the interfacing object into EDIF format and write it to the passed-in EdifPrintWriter Object.

Specified by:
toEdif in interface EdifOut
Parameters:
epw - The EdifPrintWriter Object that the interfacing Object will write EDIF data to

getLine

public java.lang.String getLine(int i)