|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.stock.utils.StockUtils
public final class StockUtils
This class provides utils methodes
| Field Summary | |
|---|---|
static String |
EMPTY_STRING
|
static String |
MESSAGE_ERROR_OCCUR
|
| Method Summary | |
|---|---|
static Timestamp |
formatHour(String strHour,
Locale locale)
Get the hour from String date |
static Float |
getFloat(String strToConvert)
Converts a String into Float |
static Integer |
getInteger(String strToConvert)
Converts a String into Integer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EMPTY_STRING
public static final String MESSAGE_ERROR_OCCUR
| Method Detail |
|---|
public static Integer getInteger(String strToConvert)
strToConvert - The String object to convert into Integer
Integer object of the given String object or null if an error occuredpublic static Float getFloat(String strToConvert)
strToConvert - The String object to convert into Float
Float object of the given String object or null if an error occured
public static Timestamp formatHour(String strHour,
Locale locale)
strHour - the date to formatlocale - The Locale
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||