Hi,
We get a big text file(1GB) in soapbody, which we want to read line by line.
We tried to use google's common.io libarry[1], but still it takes much
time. Anyone knows better solution for this?

eg:

OMElement fileContent;

FileBackedOutputStream baos = new FileBackedOutputStream(1024 * 1024);
fileContent.serialize(baos);
InputStream is = baos.getSupplier().getInput();

Thanks.
-- 
-Ratha
mobile: (+94)755906608
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to