Package nablarch.common.databind.csv
Class CsvDataWriter
java.lang.Object
nablarch.common.databind.csv.CsvDataWriter
- All Implemented Interfaces:
Closeable,AutoCloseable,DataWriter<Object[]>
CSVを出力するクラス。
- Author:
- Hisaaki Shioiri
-
Constructor Summary
ConstructorsConstructorDescriptionCsvDataWriter(BufferedWriter writer, CsvDataBindConfig config, String[] properties) 指定されたフォーマット定義を持つCsvLineFormatterを生成する。 -
Method Summary
-
Constructor Details
-
CsvDataWriter
指定されたフォーマット定義を持つCsvLineFormatterを生成する。- Parameters:
writer- 出力リソースconfig- フォーマット定義properties- プロパティ名リスト
-
-
Method Details
-
write
Description copied from interface:DataWriterデータを書き込む。- Specified by:
writein interfaceDataWriter<Object[]>- Parameters:
data- データ- Throws:
IOException- データ書き込みに失敗した場合
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-