public class FileOutputAdapter extends Object implements MLOutputAdapter
Constructor and Description |
---|
FileOutputAdapter() |
public void write(String outPath, InputStream in) throws MLOutputAdapterException
MLOutputAdapter
write
in interface MLOutputAdapter
outPath
- targeted path. eg: /test.txtin
- InputStream
to be written. This should be closed by this method.MLOutputAdapterException
- on a write failure.Copyright © 2015 WSO2, Inc.. All Rights Reserved.