public class PartialMessageParser extends Object
PartialMessageParser tries to guess additional information on the header from the ValidationParameters:
PartialMessageParser tries to extract them from the message by reading at most the first 1500 bytes of the
message, interpreting them as an UTF-8 String, and applying regular expressions or a similar heuristic.
PartialMessageParser never fails. If some data cannot be retrieved, it will be set to null in the returned
MessageHeader.| Constructor | Description |
|---|---|
PartialMessageParser(eu.europa.ec.taxud.validation.input.ValidationInput input,
eu.europa.ec.taxud.validation.ValidationContext context) |
Default constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
readValuesUsingRegExp() |
Method used to retrieve values using RegEx.
|
public PartialMessageParser(eu.europa.ec.taxud.validation.input.ValidationInput input,
eu.europa.ec.taxud.validation.ValidationContext context)
throws IOException
input - contains the source from which the parser will try to parse the information.context - the context to be updated with the parsed information.IOException - the io exceptionCopyright © 2025. All rights reserved.