|
|
|
@ -79,8 +79,8 @@ public class TradeSecureFile {
|
|
|
|
writer.println(headerLine());
|
|
|
|
writer.println(headerLine());
|
|
|
|
for (TradeItem item : tradeItems) {
|
|
|
|
for (TradeItem item : tradeItems) {
|
|
|
|
writer.println(item.line());
|
|
|
|
writer.println(item.line());
|
|
|
|
writer.flush();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
writer.flush();
|
|
|
|
content = bos.toByteArray();
|
|
|
|
content = bos.toByteArray();
|
|
|
|
return content;
|
|
|
|
return content;
|
|
|
|
} catch (IOException e) {
|
|
|
|
} catch (IOException e) {
|
|
|
|
|