Package com.vaadin.open
Class Open
- java.lang.Object
-
- com.vaadin.open.Open
-
public class Open extends Object
-
-
Constructor Summary
Constructors Constructor Description Open()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)static booleanopen(String target)Opens the given URL.static booleanopen(String target, App app)Opens the given URL in the given application.static booleanopen(String target, App app, Options options)Opens the given URL in the given application using the given options.static booleanopen(String target, Options options)Opens the given URL using the given options.static booleanopenApp(App app, List<String> appArguments, Options options)Opens the given application using the given arguments and options.static booleanopenApp(String name, List<String> appArguments, Options options)Opens the given application using the given arguments and options.
-
-
-
Method Detail
-
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 openoptions- 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 openapp- 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 openapp- the application to useoptions- 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 openappArguments- the arguments to pass to the applicationoptions- 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 openappArguments- the arguments to pass to the applicationoptions- the options to use- Returns:
- true if the URL was launched
-
main
public static void main(String[] args)
-
-