Take the following code snippet as a starting point:
Vector propVec = new Vector(2);
propVec.addElement("checked-in");
propVec.addElement("checked-out");
try {
Enumeration e = resource.propfindMethod(DepthSupport.DEPTH_0, propVec);
if (e.hasMoreElements()) {
Enumeration props = ((ResponseEntity) e.nextElement()).getProperties();
while (props.hasMoreElements()) {
Property prop = (Property) props.nextElement();
if (prop.getStatusCode() == 200) {
System.out.println(prop.getLocalName());
}
}
}
} catch (Exception e) {}
Regards,
Ingo
> Hello,
> I am looking for a method/property in webdav client library to find out
> whether the current resource is checkout or not. Any pointers would be
> helpful.
>
> Thanks,
> Jagadeesh
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]