public class ParametersImpl extends Application.Parameters
| Constructor and Description |
|---|
ParametersImpl()
Constructs an empty Parameters object.
|
ParametersImpl(List<String> args)
Constructs an Parameters object from the specified list of arguments.
|
ParametersImpl(Map params,
String[] arguments)
Constructs an Parameters object from the specified map of named
parameters.
|
ParametersImpl(String[] args)
Constructs an Parameters object from the specified array of unnamed
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getNamed()
Retrieves a read-only map of the named parameters.
|
static Application.Parameters |
getParameters(Application app) |
List<String> |
getRaw()
Retrieves a read-only list of the raw arguments.
|
List<String> |
getUnnamed()
Retrieves a read-only list of the unnamed parameters.
|
static void |
registerParameters(Application app,
Application.Parameters p) |
public ParametersImpl()
public ParametersImpl(List<String> args)
args - list of command line argumentspublic ParametersImpl(String[] args)
args - array of command line argumentspublic List<String> getRaw()
Application.ParametersgetRaw in class Application.Parameterspublic Map<String,String> getNamed()
Application.ParametersgetNamed in class Application.Parameterspublic List<String> getUnnamed()
Application.ParametersgetUnnamed in class Application.Parameterspublic static Application.Parameters getParameters(Application app)
public static void registerParameters(Application app, Application.Parameters p)
Copyright © 2025. All rights reserved.