Package gov.nasa.pds.model.plugin
Class ProtFramesParser
java.lang.Object
gov.nasa.pds.model.plugin.ProtFramesParser
Parses a Protege Frames file (.pont or .pins) and creates an array of tokens. parse - open file,
parse, and generate array of tokens and types getTokenArray - return token array
getTokenTypeArray - return token type array
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the array of parsed tokens.Returns the array of parsed token types.booleanOpens a FileReader and parses a Protege Frames file (.pont or .pins) and creates an array of tokens.
-
Field Details
-
tokenArr
-
tokenType
-
tokenBuf
-
dsid
-
ptname
-
-
Constructor Details
-
ProtFramesParser
public ProtFramesParser()
-
-
Method Details
-
parse
Opens a FileReader and parses a Protege Frames file (.pont or .pins) and creates an array of tokens.- Throws:
Throwable
-
getTokenArray
Returns the array of parsed tokens. -
getTokenTypeArray
Returns the array of parsed token types.
-