All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.mivek.command.metar.Command Maven / Gradle / Ivy

package io.github.mivek.command.metar;

import io.github.mivek.model.Metar;

/**
 * Command for the metarParser.
 *
 * @author mivek
 */
public interface Command {

    /**
     * Methode handling the pPart to parse.
     *
     * @param pMetar the metar object to handle.
     * @param pPart  the string to parse.
     */
    void execute(Metar pMetar, String pPart);

    /**
     * @param pInput the input string to test.
     * @return true if the input can be handled by the command.
     */
    boolean canParse(String pInput);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy