Interface HunspellCompoundRule.FlagReader

Enclosing class:
HunspellCompoundRule
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface static interface HunspellCompoundRule.FlagReader
Interprets a flag according to the affix file's FLAG setting.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    read(String text, int line)
    Interprets one flag.
  • Method Details

    • read

      int read(String text, int line) throws IOException
      Interprets one flag.
      Parameters:
      text - The encoded flag.
      line - The source line.
      Returns:
      The flag value.
      Throws:
      IOException - Thrown if the flag is malformed.