org.codehaus.mojo.keytool
Class KeyToolMojoSupport
java.lang.Object
org.codehaus.mojo.keytool.KeyToolMojoSupport
public class KeyToolMojoSupport
- extends Object
Method Summary |
static File |
getJDKCommandExe(String command)
Constructs the operating system specific File path of the JDK command given the specified command name. |
static String |
getJDKCommandPath(String command,
org.apache.maven.plugin.logging.Log logger)
Constructs the operating system specific absolute path of the JDK command given the specified command name. |
static File |
getJRECACerts()
Constructs the operating system specific File path of the JRE cacerts file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyToolMojoSupport
public KeyToolMojoSupport()
getJDKCommandExe
public static File getJDKCommandExe(String command)
- Constructs the operating system specific File path of the JDK command given the specified command name.
- Parameters:
command
- the executable name
- Returns:
- a File representing the path to the command.
getJDKCommandPath
public static String getJDKCommandPath(String command,
org.apache.maven.plugin.logging.Log logger)
- Constructs the operating system specific absolute path of the JDK command given the specified command name.
- Parameters:
command
- the executable name
- Returns:
- a String representing the absolute path to the command.
getJRECACerts
public static File getJRECACerts()
- Constructs the operating system specific File path of the JRE cacerts file.
- Parameters:
command
- the executable name
- Returns:
- a File representing the path to the command.
Copyright © 2005-2011 Codehaus. All Rights Reserved.