byucc.edif
Class EdifComment
java.lang.Object
byucc.edif.EdifComment
- All Implemented Interfaces:
- EdifOut
public class EdifComment
- extends java.lang.Object
- implements EdifOut
|
Field Summary |
protected java.util.List |
_comments
A list of String objects that represent the comment. |
|
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 |
_comments
protected java.util.List _comments
- A list of String objects that represent the comment.
EdifComment
public EdifComment()
EdifComment
public EdifComment(java.util.List commentLines)
EdifComment
public EdifComment(java.lang.String commentLine)
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)