I need the size in bytes of each line in a file, so I can get a percentage of the file read. I already got the size of the file with file.length(), but how do I get
file.length()
If the File is an ASCII file, then you can use String.length(); otheriwse it gets more complex.