int len = input.length(); char[] c = new char[len]; input.getChars( 0, len, c, 0 );  for( int i = len-1; i >= 0; i-- )
for( int i = input.length() - 1; i >= 0; i-- )
  private int getCompressionLevel( String input )  {    int len = input.length();    char[] c = new char[len];    input.getChars( 0, len, c, 0 );    for( int i = len-1; i >= 0; i-- )    {      if( c[i] >= '0' && c[i] <= '9' )        return c[i] - '0';    }    return Deflater.DEFAULT_COMPRESSION;  }