com.vaadin.open.
Class Open
- java.lang.Object
-
- com.vaadin.open.Open
-
public class Open extends Object
-
-
Constructor Summary
Constructors Constructor and Description Open()
-
Method Summary
All Methods Modifier and Type Method and Description static void
main(String[] args)
static boolean
open(String target)
Opens the given URL.
static boolean
open(String target, App app)
Opens the given URL in the given application.
static boolean
open(String target, App app, Options options)
Opens the given URL in the given application using the given options.
static boolean
open(String target, Options options)
Opens the given URL using the given options.
static boolean
openApp(App app, List<String> appArguments, Options options)
Opens the given application using the given arguments and options.
static boolean
openApp(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 openReturns:
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 useReturns:
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 useReturns:
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 useReturns:
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 useReturns:
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 useReturns:
true if the URL was launched
-
main
public static void main(String[] args)
-
-