public class ApplicationDataUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
EARTH_RADIUS |
| Constructor and Description |
|---|
ApplicationDataUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
computeDistanceInMeters(Float startLatitude,
Float startLongitude,
Float endLatitude,
Float endLongitude) |
static DecimalFormat |
getDecimalFormat(int minDecimal,
int maxDecimal) |
static DecimalFormatSymbols |
getDecimalFormatSymbols() |
static String |
getDistanceInMilles(Float distance) |
static Object |
getProperty(Object bean,
String property) |
static float |
getRoundedLengthStep(float lengthStep,
boolean aroundUp) |
static String |
getWeightStringValue(Float weight) |
static void |
setProperty(Object bean,
String property,
Object value) |
public static final double EARTH_RADIUS
public static int computeDistanceInMeters(Float startLatitude, Float startLongitude, Float endLatitude, Float endLongitude)
public static float getRoundedLengthStep(float lengthStep,
boolean aroundUp)
public static DecimalFormatSymbols getDecimalFormatSymbols()
public static DecimalFormat getDecimalFormat(int minDecimal, int maxDecimal)
Copyright © 2013 Ifremer. All rights reserved.