Program.findProgram

Finds the program that is associated with an extension. The extension may or may not begin with a '.'. Note that a <code>Display</code> must already exist to guarantee that this method returns an appropriate result.

@param extension the program extension @return the program or <code>null</code>

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT when extension is null</li> </ul>

  1. Program findProgram(String extension)
    class Program
    static
    findProgram
    (
    String extension
    )
  2. Program findProgram(Display display, String extension)

Meta