Skip to Content
0
May 17, 2010 at 04:45 AM

Removing "LineFeed" character from file

147 Views

Hi,

I have a scenario where I need to develop an EJB session bean business method which will take a file (inputstream) as input.

The methods should remove all "LineFeed" characters in this file and return new file (inputstream).

How do I achieve this? How do I remove line feeds from inputstream?

Thanks and regards,

Amey