if( ! dat.canRead() )
throw new Exception("Cannot open concurrent data-directory '"+dat.getAbsolutePath()+"' for reading!");
if( "stdin".equalsIgnoreCase( index ) ){
System.out.println( "Reading summaries from standard input..." );
src = new ConcurrentAuditReader( System.in, dat );
} else {
File idx = new File( p.getProperty( COLLECTOR_CONCURRENT_INDEX ) );
if( ! idx.canRead() )
throw new Exception("Cannot open concurrent index-file "+idx.getAbsoluteFile()+" for reading!");
src = new ConcurrentAuditReader( dat, idx, tail );
}
}
return src;
}