Interface SpaceParser<I,S>

Type Parameters:
I - input type.
S - The Space
All Known Implementing Classes:
TelegramSpaceParser
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SpaceParser<I,S>
Api to retrieve the space associated with the message.
Since:
1.0.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Optional<S>
    parse(I input)
     
  • Method Details

    • parse

      @NonNull @NonNull Optional<S> parse(@NonNull @NotNull I input)
      Parameters:
      input - The message
      Returns:
      retrieves the space associated with the message