else if ( unit.equalsIgnoreCase( "tb" ) )
else if ( unit.equalsIgnoreCase( "gb" ) )
	private long convertToInt( String value, String unit ) throws NumberFormatException {		int factor = 1;				if ( unit.equalsIgnoreCase( "kb" ) )			factor = 1024;		else if ( unit.equalsIgnoreCase( "mb" ) )			factor = 1024 * 1024;		else if ( unit.equalsIgnoreCase( "tb" ) )			factor = 1024 * 1024 * 1024;		else if ( unit.equalsIgnoreCase( "" ) )			factor = 1;		else {					NumberFormatException ex = new NumberFormatException( "no valid unit given" );			throw ex;		}				float size = Float.parseFloat( value );						return ( long ) ( size * factor );			}