SuperCSV with null delimiter -


I am creating a file which is not actually a CSV file, but SuperSeesview helps me in creating this The easy file file structure uses different lengths for each line, after a layout, which does not separate individual information. Therefore, to know what information is in a line, you first need to see 2 characters (the name of the register), calculate the characters and remove it from the shape.

I have configured SuperCasavi to clear the delimiter, however, the file being created is using a place where it should not be anything. Public class TarefaGerarArquivoRegistrosFiscais implements ITarefa {Personal Static Final CsvPreference FORMATO_ANEXO_IV = Creating new CsvPreference.Builder ('' ',' \ 0 ',' \ r \ n "). Public void processar (try {author} = new CsvListWriter (getFileWriter (), FORMATO_ANEXO_IV); writer.write (geradorRegistroU1.gerar ());} Finally {if (author! = Null) Writer. } What is the correct code for 'zero'?

It probably is not what you want to hear, but I use super CSV This is the only purpose to deal with the delimited files - and you are not using the delimiter

You can create a wrapper (with your list) CSV can be misused whose toString () method simply combines all the values ​​together, then that one object

I would either favor any other I recommend finding the library or your own I am writing a solution for myself.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -