[jcifs] SmbFileInputStream question
Michael B. Allen
mballen at erols.com
Tue Sep 25 09:37:58 EST 2001
On Mon, Sep 24, 2001 at 04:43:17PM -0400, Gunnels, Mark wrote:
> Is it possible to wrap the SmbFileInputStream class?
> Such as it is below?
> BufferedReader in = new BufferedReader(new InputStreamReader( new
Absolutely. The jCIFS Lmhost class reads in a network lmhosts file
with new InputStreamReader( new SmbFileInputStream( includeURL
)). It doesn't use BufferedReader but it probably should. Same
goes SmbFileOutputStream. You could do new PrintStream(
pipe.getNamedPipeOutputStream() ) ....etc.
More information about the jcifs