code: private static int sizeToInt(String size) {
  		int position = size.indexOf('p');
  		if (position < 0) {
  			return Integer.parseInt(size);
  		}
  		return Integer.parseInt(size.substring(0, position));
  	}
docs: ------------------------------------------------------------------------