commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carfield Yim <carfi...@gmail.com>
Subject Should I buffered streams when using commons io?
Date Wed, 09 Feb 2005 14:16:09 GMT
Should I buffered streams when using commons io myself, like 

CopyUtils.copy(new BufferedInputStream(new FileInputStream(file)), new
BufferedOutputStream(res.getOutputStream()));

instead of
	CopyUtils.copy(new FileInputStream(file)), res.getOutputStream());

Or CopyUtil, IOUtil proper probably inside the API?

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message