Class AOutputStreamDataSink
- java.lang.Object
-
- com.g2forge.alexandria.java.io.dataaccess.AOutputStreamDataSink
-
- All Implemented Interfaces:
IDataAccess
,IDataSink
- Direct Known Subclasses:
ByteArrayDataSink
,OutputStreamDataSink
public abstract class AOutputStreamDataSink extends Object implements IDataSink
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
used
-
Constructor Summary
Constructors Constructor Description AOutputStreamDataSink()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <T extends Channel>
TgetChannel(ITypeRef<T> type)
Path
getPath()
abstract OutputStream
getStream()
boolean
isUsed()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.g2forge.alexandria.java.io.dataaccess.IDataAccess
assertReady
-
-
-
-
Method Detail
-
getChannel
public <T extends Channel> T getChannel(ITypeRef<T> type)
- Specified by:
getChannel
in interfaceIDataAccess
-
getPath
public Path getPath()
- Specified by:
getPath
in interfaceIDataAccess
-
getStream
public abstract OutputStream getStream()
-
isUsed
public boolean isUsed()
- Specified by:
isUsed
in interfaceIDataAccess
-
-