Package com.github.sardine.model

Examples of com.github.sardine.model.Displayname


  {
    HttpPropFind entity = new HttpPropFind(url);
    entity.setDepth("1");
    Propfind body = new Propfind();
    Prop prop = new Prop();
    prop.setDisplayname(new Displayname());
    prop.setResourcetype(new Resourcetype());
    prop.setPrincipalURL(new PrincipalURL());
    body.setProp(prop);
    entity.setEntity(new StringEntity(SardineUtil.toXml(body), UTF_8));
    Multistatus multistatus = this.execute(entity, new MultiStatusResponseHandler());
View Full Code Here


      return null;
    }
    for (Propstat propstat : list)
    {
      if (propstat.getProp() != null) {
        Displayname dn = propstat.getProp().getDisplayname();
        if ((dn != null) && (dn.getContent().size() == 1))
        {
          return dn.getContent().get(0);
        }
      }
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of com.github.sardine.model.Displayname

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.