I am using the Apache Commons Uploader package, and I am trying to read a file that is being uploaded. I have a FileItem object.
The first few lines of the file are ASCII and I want to be able to read them and extract the metadata that is contained in them. What is the best method/pattern to go about doing this.