SimpleExportProcessor extends BaseExportProcessor { @Override public void exportFile( RepositoryFile repositoryFile, OutputStream outputStream, String filePath ) throws ExportException, IOException { for ( ExportHandler exportHandler : exportHandlerList ) { InputStream is = exportHandler.doExport( repositoryFile, filePath ); if ( is != null ) { IOUtils.copy( is, outputStream ); is.close(); } } } SimpleExportProcessor( String path, IUnifiedRepository repository ); File performExport( RepositoryFile exportRepositoryFile ); @Override void exportDirectory( RepositoryFile repositoryDir, OutputStream outputStream, String filePath ); @Override void exportFile( RepositoryFile repositoryFile, OutputStream outputStream, String filePath );  }
@Test public void testExportFile() throws Exception { }