[jcifs] some rework

Michael B. Allen miallen at eskimo.com
Sun Jul 7 09:31:51 EST 2002

On Sun, 07 Jul 2002 01:59:05 +0400
Dmitry Khlonin <dmitry at khlonins.com> wrote:

> I used jcifs as library for developing web-interface for SMB-gate and
> was disappointed by schema of getting entries from SmbFile (for group, 
> host and directory)
> There is only method *String list()* - and nothing like common interface 
> for returning entries
> of jcifs.smb.NetServerEnum2Response$ServerInfo1, 
> jcifs.smb.NetShareEnumResponse$ShareInfo1 and
> jcifs.smb.Trans2FindFirst2Response$SmbFindFileBothDirectoryInfo.
> I have some patches for jcifs code and
> I think it might be useful.

In  theory,  everything  should be available through listFiles(). You might
successfully  argue  that  an addtional SmbFile.getXxx() method is required
but Share or Directory specific interfaces are not necessary and would only
lead to confusion. 


More information about the jcifs mailing list