public SinkTriplesToGraph(boolean x , Graph g)
{
this.graph = g ;
// Convert between the new global event system (EventManager)
// and old style Jena graph events.
el1 = new EventListener(){
@Override
public void event(Object dest, Event event)
{
graph.getEventManager().notifyEvent( graph , GraphEvents.startRead ) ;
}
} ;
el2 = new EventListener(){
@Override
public void event(Object dest, Event event)
{
graph.getEventManager().notifyEvent( graph , GraphEvents.finishRead ) ;
}