- java.lang.Object
-
- jp.cafebabe.kunai.sink.AbstractDataSink
-
- jp.cafebabe.kunai.sink.ClassFileDataSink
-
- All Implemented Interfaces:
AutoCloseable
,DataSink
- Direct Known Subclasses:
DirectoryDataSink
public class ClassFileDataSink extends AbstractDataSink
-
-
Constructor Summary
Constructors Constructor Description ClassFileDataSink(Path path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consume(InputStream in, Entry entry)
write given data from stream to this instance.protected void
createDirectories(Path path)
-
Methods inherited from class jp.cafebabe.kunai.sink.AbstractDataSink
close
-
-
-
-
Constructor Detail
-
ClassFileDataSink
public ClassFileDataSink(Path path)
-
-
Method Detail
-
consume
public void consume(InputStream in, Entry entry) throws KunaiException
Description copied from interface:DataSink
write given data from stream to this instance.- Parameters:
in
- writing dataentry
- meta data of data- Throws:
KunaiException
- I/O error
-
createDirectories
protected void createDirectories(Path path)
-
-