Top Description Constructors Methods
io.vertx.core.impl.launcher

public Class CommandLineUtils

extends Object
Class Inheritance
Imports
java.io.File

Utilities method to analyse original command line.
Author
Clement Escoffier

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

try to get the command line having launched the application using the sun.java.command system properties. null if not set.
getCommand
()

public static String

Returns:

the first segment of the command line.
getFirstSegmentOfCommand
()

public static String

Returns:

the fat-jar file used to execute the application if the fat-jar approach is used.
getJar
()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CommandLineUtilsback to summary
public CommandLineUtils()

Method Detail

getCommandback to summary
public static String getCommand()
Returns:String

try to get the command line having launched the application using the sun.java.command system properties. null if not set.

getFirstSegmentOfCommandback to summary
public static String getFirstSegmentOfCommand()
Returns:String

the first segment of the command line.

getJarback to summary
public static String getJar()
Returns:String

the fat-jar file used to execute the application if the fat-jar approach is used.