org.openjena.atlas.lib
Class SinkWrapper<T>
java.lang.Object
org.openjena.atlas.lib.SinkWrapper<T>
- All Implemented Interfaces:
- Closeable, Sink<T>
- Direct Known Subclasses:
- SinkCounting, SinkQuadNodeTransform, SinkTripleNodeTransform
public class SinkWrapper<T>
- extends Object
- implements Sink<T>
Wrap one sink in another - to pass on behaviour, the derived Sink must call super.operation
See also: SinkSplit
SinkWrapper
public SinkWrapper(Sink<T> sink)
flush
public void flush()
- Specified by:
flush
in interface Sink<T>
send
public void send(T item)
- Specified by:
send
in interface Sink<T>
close
public void close()
- Specified by:
close
in interface Closeable
Licenced under the Apache License, Version 2.0