18 lines
369 B
Java
18 lines
369 B
Java
package de.swingbe.ifleet.parser;
|
|
|
|
import de.swingbe.ifleet.model.Entity;
|
|
|
|
/**
|
|
* Parses an {@link Entity}.
|
|
*/
|
|
public interface EntityParser {
|
|
|
|
/**
|
|
* Returns a new {@link Entity} that holds the parses telegram.
|
|
*
|
|
* @param input the {@link String} to be parsed
|
|
* @return the parsed {@link Entity}
|
|
*/
|
|
Entity parse(final String input);
|
|
}
|