Musings of a Manchester Drupal guy

Drupal, Open Source, Analytics, Social Media.

Thursday, February 23, 2006

Using CFBufferedReader in ColdFusion

Using CFBufferedReader in ColdFusion: "Following is an example of how to read in large files (several Megs) into ColdFusion and parse them as needed.

CFBufferedReader works exactly like, but adds an isEOF() method to indicate whether the last call to readLine detected the end of the file.

To use CFBufferedReader place the .class file in your ColdFusion classpath (and restart). The original code is from Daryl Banttari (Macromedia), but does not look activly developed, so I am reposting it here and will be happy to make any suggested modifications."