* @param cell 対象のセル
* @return 対応する値
*/
private IntOption getIntOption(HSSFCell cell) {
Long l = getLong(cell);
IntOption op = new IntOption();
if (l == null) {
op.setNull();
} else {
if (l < Integer.MIN_VALUE || Integer.MAX_VALUE < l) {
String msg = createExceptionMsg(cell, "表現可能な範囲外の数値(" + l + ")");
throw new NumberFormatException(msg);
}
op.modify(l.intValue());
}
return op;
}