Can you post some example with Fixed Width Format. Please thanks
OK...
Let's say that first 3 elements 5 characters and next 2 have 10 characters each.
int[] widths = new int[] {5, 5, 5, 10, 10}; DataFile df = DataFile.createReader("8859_1"); df.setDataFormat(new FixedWidthFormat(widths); . . .
then it works the same way with any other data formats.
Does this answer your question?
Log in to post a comment.
Can you post some example with Fixed Width Format.
Please
thanks
OK...
Let's say that first 3 elements 5 characters and next 2 have 10 characters each.
int[] widths = new int[] {5, 5, 5, 10, 10};
DataFile df = DataFile.createReader("8859_1");
df.setDataFormat(new FixedWidthFormat(widths);
.
.
.
then it works the same way with any other data formats.
Does this answer your question?