Package gov.nasa.pds.model.plugin
Class ProtFramesParser
- java.lang.Object
-
- gov.nasa.pds.model.plugin.ProtFramesParser
-
public class ProtFramesParser extends Object
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
-
-
Constructor Summary
Constructors Constructor Description ProtFramesParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayList<String>
getTokenArray()
Returns the array of parsed tokens.ArrayList<String>
getTokenTypeArray()
Returns the array of parsed token types.boolean
parse(String fname)
Opens a FileReader and parses a Protege Frames file (.pont or .pins) and creates an array of tokens.
-