Interface FileManager.Runner

Enclosing class:
FileManager
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 FileManager.Runner
Starts a command. @return whether it worked; @throws IOException when the program cannot be started
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    run(List<String> command)
    Starts the command.
  • Method Details

    • run

      boolean run(List<String> command) throws IOException
      Starts the command.
      Returns:
      whether it worked
      Throws:
      IOException - when the program cannot be started