[jcifs] Does jcifs use an internal buffer

Christoph Held christoph.held at est.fujitsu.com
Thu Jul 7 11:30:15 GMT 2005


Fujitsu EST is delivering jcifs with the Fujitsu Enabler product. 

I am wondering if jcifs uses an internal buffer.

I have noticed that the read() function of SmbFileInputStream class is quite 
slow. Wrapped in a BufferedInputStream the read() function of 
BufferedInputStream is about 500 times faster. The conclusion is, that jcifs 
does not use an internal buffer (at least in our configuration).

My questions are:
1. Is this conclusion correct?
2. Should we recommend our customers, always to wrap the SmbFileInputStream in 
a BufferedInputStream?

(I am not a real developer and the answers are not obvious to me)

Greetings

Christoph Held
Fujitsu EST 
_______________________________________________________________________________
This message has been scanned for all known virus by OMNIQuad Mailwall Remote.

_______________________________________________________________________________
This message has been scanned for all known virus by OMNIQuad Mailwall Remote.



More information about the jcifs mailing list