com.vaadin.open.

Class Open

java.lang.Object
com.vaadin.open.Open
public class Open extends Object
  • Constructor Details

    • Open

      public Open()
  • Method Details

    • open

      public static boolean open(String target)

      Opens the given URL.

      Parameters:

      target - the URL to open

      Returns:

      true if the URL was launched

    • open

      public static boolean open(String target, Options options)

      Opens the given URL using the given options.

      Parameters:

      target - the URL to open

      options - the options to use

      Returns:

      true if the URL was launched

    • open

      public static boolean open(String target, App app)

      Opens the given URL in the given application.

      Parameters:

      target - the URL to open

      app - the application to use

      Returns:

      true if the URL was launched

    • open

      public static boolean open(String target, App app, Options options)

      Opens the given URL in the given application using the given options.

      Parameters:

      target - the URL to open

      app - the application to use

      options - the options to use

      Returns:

      true if the URL was launched

    • openApp

      public static boolean openApp(String name, List<String> appArguments, Options options)

      Opens the given application using the given arguments and options.

      Parameters:

      name - the name of the application to open

      appArguments - the arguments to pass to the application

      options - the options to use

      Returns:

      true if the URL was launched

    • openApp

      public static boolean openApp(App app, List<String> appArguments, Options options)

      Opens the given application using the given arguments and options.

      Parameters:

      app - the application to open

      appArguments - the arguments to pass to the application

      options - the options to use

      Returns:

      true if the URL was launched

    • main

      public static void main(String[] args)