|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.steptools.stdev.p21.Part21Parser
public class Part21Parser
Provides the facilities to read a Part 21 file and populate a model from the instance data contained in the file.
| Constructor Summary | |
|---|---|
Part21Parser()
|
|
| Method Summary | |
|---|---|
SchemaBase |
getSchema(java.lang.String name)
Find the schema for a given name. |
Model |
parse(java.io.File src)
Read a Part 21 file into a Model. |
void |
parse(java.io.File src,
Model mod,
EntityIDTable eids,
boolean set_header,
boolean one_sect)
Read a Part 21 file into an existing Model. |
Model |
parse(java.io.Reader in)
Read a Part 21 file into a Model. |
void |
parse(java.io.Reader in,
Model mod,
EntityIDTable eids,
boolean set_header,
boolean one_sect)
Read a Part 21 file into an existing Model. |
Model |
parse(java.lang.String fname)
Read a Part 21 file into a Model. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Part21Parser()
throws STDevException
STDevException| Method Detail |
|---|
public Model parse(java.lang.String fname)
throws STDevException,
java.io.IOException
fname - The file name.
STDevException - There was some problem parsing the file
java.io.IOException - An I/O exception occurred getting the input
public Model parse(java.io.File src)
throws STDevException,
java.io.IOException
src - The file to read.
STDevException - There was some problem parsing the file
java.io.IOException - An I/O exception occurred getting the input
public Model parse(java.io.Reader in)
throws STDevException,
java.io.IOException
in - The reader to read
STDevException - There was some problem parsing the file
java.io.IOException - An I/O exception occurred getting the input
public void parse(java.io.File src,
Model mod,
EntityIDTable eids,
boolean set_header,
boolean one_sect)
throws STDevException,
java.io.IOException
src - The Part 21 file to readmod - The model to populateeids - The entity ID table to populateset_header - Add the file header as a section to the model.one_sect - Force everything into one data population
STDevException - There was some problem parsing the file
java.io.IOException - An I/O exception occurred getting the input
public void parse(java.io.Reader in,
Model mod,
EntityIDTable eids,
boolean set_header,
boolean one_sect)
throws STDevException,
java.io.IOException
in - The reader to readmod - The model to populateeids - The entity ID table to populateset_header - Add the file header as a section to the model.one_sect - Force everything into one data population
STDevException - There was some problem parsing the file
java.io.IOException - An I/O exception occurred getting the input
public SchemaBase getSchema(java.lang.String name)
throws SchemaNotFoundException
name - The name of the schema as specified in Part 21
SchemaNotFoundException - the schema could not be found.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||