Descarga de resultados publicados remotamente

Para las generaciones de documentos remotas, puede utilizar el programa de utilidad URLDataProvider para acceder tanto al archivo de resultados, como al registro remoto.
URLDataProvider urlutil = new URLDataProvider();

for( RPEResult result : localDocgen.getResults())
{
	String type = PropertyUtils.getPropertyRawValue(
result.getProperty(RPEConfigConstants.PROPERTY_TYPE),
"");  //$NON-NLS-1$
	String location = PropertyUtils.getPropertyRawValue(
result.getProperty(RPEConfigConstants.PROPERTY_PATH),
"");  //$NON-NLS-1$
	System.out.println( type + ": " + path);

	if ( isRemote)
	{
		String localCopy = urlutil.cacheResource( location, credential);
		logger.info("\t\t" + " local copy: " + localCopy); 
	}
}