List of usage examples for javax.xml.bind DatatypeConverter parseInt
public static int parseInt(String lexicalXSDInt)
Convert the string argument into an int value.
From source file:org.openestate.io.immobiliare_it.ImmobiliareItUtils.java
public static Integer parseYear(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseInt(value) : null; }
From source file:org.openestate.io.kyero.KyeroUtils.java
public static Integer parseImageAttributeType(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseInt(value) : null; }