IOUtils.copy( is, outputContext.getOutputStream() );
}
}
else if ( outputContext.hasStream() )
{
IndexWriter writer = new IndexWriter( this, localResource, logicalResource );
writer.write( outputContext );
}
}
catch ( FileLockException e )
{
throw new IOException( e.getMessage(), e );