replace split by StringTokenizer and define default value for requiredSize parameter (-1) for no compression