[jcifs] Package access classes, methods, etc.

David D. Kilzer ddkilzer at kilzer.net
Fri Jul 16 16:41:54 GMT 2004


Speaking of make methods public, what is the proper way to close or
disconnect when using a named pipe?  The SmbFile.close() method is
package-private (not public, protected or private), and there is no
corresponding disconnect() method for the public connect() method.

It would be nice if SmbFile.isConnected() was public as well, at least
in the case of a named pipe.

Dave


On Fri, Jul 16, 2004 at 09:51:34AM -0400, Eric Glass wrote:

> Mike,
> 
> I was wondering if you had any opinion on revising the access
> modifiers for some of the jCIFS classes and methods.  There's
> currently a lot of package classes, etc., which make it a bit
> difficult to extend without putting the external code in i.e. the
> "jcifs.smb" package.  Personally, I'm fairly "anti-package" (I don't
> find it to be a useful construct), but that's just me; I just wanted
> to get your thoughts.
> 
> 
> Eric



More information about the jcifs mailing list