public void direct(InputStream input, OutputStream output) throws APIException, IOException {
		byte b[] = new byte[128];
		int count;
		do {
			count = input.read(b);
			if(count>0)output.write(b, 0, count);
		} while(count>=0);
	}
public void direct ( InputStream input , OutputStream output ) throws APIException , IOException { byte b [ ] = new byte [ 128 ] ; int count ; do { count = input . read ( b ) ; if ( count > 0 ) output . write ( b , 0 , count ) ; } while ( count >= 0 ) ; }
@Override