Interface Parser<S>
- Type Parameters:
S
- the internal model
- All Known Implementing Classes:
CDAR2Parser
,Converter
public interface Parser<S>
Defines methods for parsing a external representation of information into an
internal model.
- Author:
- Christian Ohr
-
Method Summary
Modifier and TypeMethodDescriptionparse
(InputStream message, Object... params) Parses a message and returns an internal representation of the information.Parses a message and returns an internal representation of the information.Parses a message and returns an internal representation of the information.Parses a message and returns an internal representation of the information.
-
Method Details
-
parse
Parses a message and returns an internal representation of the information.- Parameters:
message
-params
-- Returns:
- the parsed message
- Throws:
ParseException
-
parse
Parses a message and returns an internal representation of the information.- Parameters:
message
-params
-- Returns:
- the parsed message
- Throws:
IOException
- if reading from stream failsParseException
-
parse
Parses a message and returns an internal representation of the information.- Parameters:
source
-params
-- Returns:
- the parsed message
- Throws:
IOException
- if reading from stream failsParseException
-
parse
Parses a message and returns an internal representation of the information.- Parameters:
params
-- Returns:
- the parsed message
- Throws:
IOException
- if reading from stream failsParseException
-