org.nanoko.coffee.mill.utils
Class OptionsHelper
java.lang.Object
org.nanoko.coffee.mill.utils.OptionsHelper
public class OptionsHelper
- extends Object
Helper methods to handle processors options.
|
Method Summary |
static boolean |
getBoolean(Map<String,Object> options,
String name,
boolean defaultValue)
|
static File |
getDirectory(Map<String,?> option,
String name,
boolean create)
|
static File |
getFile(Map<String,?> option,
String name)
|
static int |
getInteger(Map<String,Object> options,
String name,
int defaultValue)
|
static org.apache.maven.plugin.logging.Log |
getLogger(Map<String,?> options,
String name)
|
static String |
getString(Map<String,?> option,
String name)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptionsHelper
public OptionsHelper()
getString
public static String getString(Map<String,?> option,
String name)
getFile
public static File getFile(Map<String,?> option,
String name)
getDirectory
public static File getDirectory(Map<String,?> option,
String name,
boolean create)
getLogger
public static org.apache.maven.plugin.logging.Log getLogger(Map<String,?> options,
String name)
getBoolean
public static boolean getBoolean(Map<String,Object> options,
String name,
boolean defaultValue)
getInteger
public static int getInteger(Map<String,Object> options,
String name,
int defaultValue)
Copyright © 2012-2013 OW2. All Rights Reserved.