int valueNumber;
double valueNumber; String valueString = null;
	public static final long getBytes( String value ) {		value = value.trim().toLowerCase();				int splitPos = value.indexOf('+');		if (splitPos == -1) {			splitPos = value.indexOf(' ');		}		if (splitPos == -1) {			splitPos = value.indexOf('\t');		}		int valueNumber;		String valueUnit;		if (splitPos != -1) {			valueNumber = Integer.parseInt( value.substring(0, splitPos).trim());			valueUnit = value.substring( splitPos + 1 ).trim();		} else {			// check number char by char:			char[] valueChars = value.toCharArray();			StringBuffer buffer = new StringBuffer( value.length() );			int pos = 0;			for (pos = 0; pos < valueChars.length; pos++) {				char c = valueChars[pos];				if ( Character.isDigit( c ) ) {					buffer.append( c );				} else {					break;				}			}			valueNumber = Integer.parseInt( buffer.toString() );			valueUnit = value.substring( pos ).trim();		}		Long unitMultiply = (Long) UNITS.get(valueUnit);		if (unitMultiply == null) {			throw new BuildException("Invalid memory-value [" + value +"] / unit [" + valueUnit + "] found: please specify a valid unit (kb, mb etc).");		}		return valueNumber * unitMultiply.longValue();	}