fixed-length-record Questions

5

I need to generate a text line with a fixed lenght: What I have right now is: StringBuilder _sb = new StringBuilder(); _sb.Append(string.Format("{0,5}", "MM")); // serie to cancel _sb.Append(str...
Onetime asked 9/10, 2013 at 22:57

9

Solved

Is there any framework/library to help writing fixed length flat files in java? I want to write a collection of beans/entities into a flat file without worrying with convertions, padding, alignmen...
Caseose asked 4/5, 2011 at 14:31

5

Solved

I'm looking for a good Java library that easily allows the read/write of fixed-width files. Needed for maintaining legacy systems, i.e. files are needed to work with COBOL. Any suggestions are gre...
Vesta asked 29/12, 2011 at 15:49

2

Solved

I am using Bootstrap 3 responsive tables for showing the data. However, One of column is having huge data compare to rest of the columns as shown below But I would like to display limited length...

5

Solved

What's the best way to read a fixed length record in Perl. I know to read a file like: ABCDE 302 DEFGC 876 I can do while (<FILE>) { $key = substr($_, 0, 5); $value = substr($_, 7, 3); ...
Avocation asked 2/1, 2009 at 16:57

1

I am using the excellent FileHelpers library to process a fixed-length airline schedule file. I have a date field, then a few fields later on in the record, a time field. I want to combine both o...
Aphasia asked 26/3, 2010 at 6:53

1

Solved

I'm looking for a .NET (much preferably open source in C#) library for dealing with fixed length field text files. It wouldn't be too much to write one, but existing, tested work is always nicer, t...
Profane asked 18/9, 2009 at 12:6
1

© 2022 - 2024 — McMap. All rights reserved.