|
||||||||||
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 java.lang.String |
EMPTY_STRING
|
static java.lang.String |
MESSAGE_ERROR_OCCUR
|
Method Summary | |
---|---|
static java.sql.Timestamp |
formatHour(java.lang.String strHour,
java.util.Locale locale)
Get the hour from String date |
static java.lang.Float |
getFloat(java.lang.String strToConvert)
Converts a String into Float |
static java.lang.Integer |
getInteger(java.lang.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 java.lang.String EMPTY_STRING
public static final java.lang.String MESSAGE_ERROR_OCCUR
Method Detail |
---|
public static java.lang.Integer getInteger(java.lang.String strToConvert)
strToConvert
- The String
object to convert into Integer
Integer
object of the given String
object or null if an error occuredpublic static java.lang.Float getFloat(java.lang.String strToConvert)
strToConvert
- The String
object to convert into Float
Float
object of the given String
object or null if an error occuredpublic static java.sql.Timestamp formatHour(java.lang.String strHour, java.util.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 |