- java.lang.Object
-
- jp.cafebabe.kunai.sink.AbstractDataSink
-
- jp.cafebabe.kunai.sink.ClassFileDataSink
-
- jp.cafebabe.kunai.sink.DirectoryDataSink
-
- All Implemented Interfaces:
AutoCloseable
,DataSink
public class DirectoryDataSink extends ClassFileDataSink
-
-
Constructor Summary
Constructors Constructor Description DirectoryDataSink(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.-
Methods inherited from class jp.cafebabe.kunai.sink.ClassFileDataSink
createDirectories
-
Methods inherited from class jp.cafebabe.kunai.sink.AbstractDataSink
close
-
-
-
-
Constructor Detail
-
DirectoryDataSink
public DirectoryDataSink(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.- Specified by:
consume
in interfaceDataSink
- Overrides:
consume
in classClassFileDataSink
- Parameters:
in
- writing dataentry
- meta data of data- Throws:
KunaiException
- I/O error
-
-