Common java methods used by PoiXson projects