Interface OpenFile.FileOpener

Enclosing class:
OpenFile
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 static interface OpenFile.FileOpener
Additional file openers may be registered to the application context.
  • Method Summary

    Modifier and Type
    Method
    Description
    getCommand(File resourceFile)
    Gets the command that will open the given file.
  • Method Details

    • getCommand

      String[] getCommand(File resourceFile) throws IOException
      Gets the command that will open the given file.
      Returns:
      The command or null to fall-through to default behavior.
      Throws:
      IOException