public class Open extends Object
Constructor and Description |
---|
Open() |
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.
|
public static boolean open(String target)
target
- the URL to openpublic static boolean open(String target, Options options)
target
- the URL to openoptions
- the options to usepublic static boolean open(String target, App app)
target
- the URL to openapp
- the application to usepublic static boolean open(String target, App app, Options options)
target
- the URL to openapp
- the application to useoptions
- the options to usepublic static boolean openApp(String name, List<String> appArguments, Options options)
name
- the name of the application to openappArguments
- the arguments to pass to the applicationoptions
- the options to usepublic static boolean openApp(App app, List<String> appArguments, Options options)
app
- the application to openappArguments
- the arguments to pass to the applicationoptions
- the options to usepublic static void main(String[] args)
Copyright © 2024. All rights reserved.