/** * Get the ETag associated with a file.<p> * * @param item the WebDavItem * * @return the created ETag for the resource attributes */ protected String getETag(I_CmsRepositoryItem item) { return "\"" + item.getContentLength() + "-" + item.getLastModifiedDate() + "\""; }
/** * Get the ETag associated with a file.<p> * * @param item the WebDavItem * * @return the created ETag for the resource attributes */ protected String getETag(I_CmsRepositoryItem item) { return "\"" + item.getContentLength() + "-" + item.getLastModifiedDate() + "\""; }
long fileLength = item.getContentLength();
long fileLength = item.getContentLength();
sb.append(" "); } else { sb.append(renderSize(childItem.getContentLength()));
sb.append(" "); } else { sb.append(renderSize(childItem.getContentLength()));
contentLength = item.getContentLength();
contentLength = item.getContentLength();
HTTP_DATE_FORMAT.format(new Date(item.getLastModifiedDate()))); addElement(propElem, TAG_CONTENTLENGTH).addText(String.valueOf(item.getContentLength())); propertiesNotFound.add(property); } else { addElement(propElem, TAG_CONTENTLENGTH).addText((String.valueOf(item.getContentLength())));
HTTP_DATE_FORMAT.format(new Date(item.getLastModifiedDate()))); addElement(propElem, TAG_CONTENTLENGTH).addText(String.valueOf(item.getContentLength())); propertiesNotFound.add(property); } else { addElement(propElem, TAG_CONTENTLENGTH).addText((String.valueOf(item.getContentLength())));