commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Schalk Cronjé <ysb...@gmail.com>
Subject Re: Fwd: [VFS] VFS sandbox?
Date Thu, 04 Dec 2014 13:13:56 GMT
On 04/12/2014 07:39, Israel Malachi wrote:
> line 46: extends AbstractFileObject<SmbFileSystem>
>
> AbstractFileObject is not generic, and can't be parameterized, should I
> erase <SmbFileSystem> ?
There are a couple of things you need to do like that as in VFS 2.0 
those classes are not generic.
> line 227: if (e.getErrorCode() == SmbException.ERRbadfile)
>
> getErrorCode() and ERRbadfile are not defined in SmbException, what to do?
>
SmbException is a jCIFS class. I think you have to look for 
e.getNtStatus() instead.

I cannot correctly remember all of the details as I ended up writing my 
own SMB provider for Groovy-VFS.


-- 
Schalk W. Cronjé
Twitter / Ello / Toeter : @ysb33r


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


Mime
View raw message