Hi all,

Good idea. DirectoryResource now exposes isDirectoryTarget() and
isFileTarget() methods. Checked in SVN trunk.

Best regards,
Jerome


-----Message d'origine-----
De : Thierry Boileau [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 23 juin 2008 09:04
À : [email protected]
Objet : Re: Need methods in DirectoryResource

Hi Jean-Yves,

let's wait for Jerome who will be back tomorrow.

best regards,
Thierry Boileau

> I play a little with WebDAV (and MS Web Folder).
>
> I try to create WebdavResource (extends 
> com.noelios.restlet.local.DirectoryResource).
>
> I saw privates fieds (targetFile and targetDirectory) initialized in 
> constructor.
>
> Is it appropriate to add those methods to 
> com.noelios.restlet.local.DirectoryResource ? :
>
>
>
>     public boolean isFile() {
>         return this.targetFile;
>     }
>
>     public boolean isDirectory() {
>         return this.targetDirectory;
>     }
>
>
>
>

Reply via email to