public abstract class AbstractDSCComment extends AbstractEvent implements DSCComment
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE| Constructor and Description |
|---|
AbstractDSCComment() |
| Modifier and Type | Method and Description |
|---|---|
DSCComment |
asDSCComment()
Casts this instance to a DSCComment if possible.
|
int |
getEventType()
Returns the event type.
|
boolean |
isAtend()
Indicates whether the DSC comment's value is "Atend".
|
boolean |
isDSCComment()
Indicates whether the instance is a DSC comment.
|
protected List |
splitParams(String value)
Splits the params of the DSC comment value in to a List.
|
asLine, isComment, isHeaderComment, isLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerate, getName, hasValues, parseValueasLine, isComment, isHeaderComment, isLineprotected List splitParams(String value)
value - the DSC comment valuepublic boolean isAtend()
DSCCommentisAtend in interface DSCCommentDSCComment.isAtend()public DSCComment asDSCComment()
DSCEventasDSCComment in interface DSCEventasDSCComment in class AbstractEventAbstractEvent.asDSCComment()public boolean isDSCComment()
DSCEventisDSCComment in interface DSCEventisDSCComment in class AbstractEventAbstractEvent.isDSCComment()public int getEventType()
DSCEventgetEventType in interface DSCEventDSCParserConstants)DSCEvent.getEventType()Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.