hi again sun-gu!
> > sorry, i made a mistake. the new getPath()
> would be
> > something like:
> >
> > public String getPath() {
> > if (isCollection())
> > return httpURL.getPath();
> > else
> > return httpURL.getParent();
> > }
>
> Do you want to get the collection only in the
> current WebDAV resource?
> That's the way.
> However, remember there is the NO_ACTION flag
> not to connect to a server.
> So, it's dependent on the develper to use the
> WebdavResource class.
i don't no what you mean by the NO_ACTION flag.
>
> >
> >
> > >
> > > hi!
> > >
> > > at this moment, the WebdavResource class
> has a
> > > method
> > > getPath() that returns the complete uri
> (path +
> > >
> > > uriname)
> > >
> > > i have a suggestion to make:
> > >
> > > why don't implement new methods in this
> class
> > > like
> > > getURI() and getURIName(), and change the
> > > getPath() to
> > > only return the path of the uri?
> > >
> > > here is the source of the methods that i
> > > suggested:
> > >
> > > public String getURI() {
>
>
> Do you mean the URI?
> Then, there is the getHttpURL method.
if i connect to a url
like "http://localhost/webdav/index.html", the uri
would be "/webdav/index.html".
the getHttURL method returns this
string: "http://username:password@localhost/webdav/inde
x.html"
that was just a suggestion.
thanks a lot!
paulo
-------------------------------------------------
Email Enviado utilizando o servi�o MegaMail