spring-framework / org.springframework.core.env / SimpleCommandLinePropertySource / <init>

<init>

SimpleCommandLinePropertySource(vararg args: String)

Create a new SimpleCommandLinePropertySource having the default name and backed by the given String[] of command line arguments.

See Also
CommandLinePropertySource#COMMAND_LINE_PROPERTY_SOURCE_NAMECommandLinePropertySource#CommandLinePropertySource(Object)

SimpleCommandLinePropertySource(name: String, args: Array<String>)

Create a new SimpleCommandLinePropertySource having the given name and backed by the given String[] of command line arguments.