|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parser
This interface describes a Parser, which will parse a specific format and create a DXFDocument from this data.
Method Summary | |
---|---|
DXFDocument |
getDocument()
Gets the parsed DXFDocument after parsing. |
java.lang.String |
getName()
Gets the name of the parser. |
void |
parse(java.io.InputStream input,
java.lang.String encoding)
Parse the given inputstream |
void |
parse(java.lang.String file)
Parse the given file. |
void |
parse(java.lang.String file,
java.lang.String encoding)
Parse the given file with the specific encoding. |
boolean |
supportedExtension(java.lang.String extension)
|
Methods inherited from interface org.kabeja.parser.Handler |
---|
releaseDXFDocument, setDXFDocument |
Method Detail |
---|
void parse(java.lang.String file) throws ParseException
file
- the file to parse
ParseException
void parse(java.lang.String file, java.lang.String encoding) throws ParseException
file
- encoding
-
ParseException
void parse(java.io.InputStream input, java.lang.String encoding) throws ParseException
input
- encoding
-
ParseException
DXFDocument getDocument()
boolean supportedExtension(java.lang.String extension)
extension
-
java.lang.String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |