开发者

dataoutputstream format not correct

开发者 https://www.devze.com 2023-01-16 13:21 出处:网络
I am writing a output file using netbeans. I am using dataoutputstream. It outputs the dataset that i want, but it is doing it in one l开发者_如何学编程ong row. I want it in a column. I\'ve tried to c

I am writing a output file using netbeans. I am using dataoutputstream. It outputs the dataset that i want, but it is doing it in one l开发者_如何学编程ong row. I want it in a column. I've tried to correct it with "n", "t" and System.getProperty("line.separator"). Any suggestions?


The DataOutputStream is a way to portably transport data from one application to another. It creates computer readable output and its output is not made for human consumption.

I recommend using a class from the Writer family to create human readable output of your data.

0

精彩评论

暂无评论...
验证码 换一张
取 消