code: public static String getContentNodeType(String contentNodeTypeHeader)
     {
        if (contentNodeTypeHeader != null)
           return contentNodeTypeHeader;
        else
           return WebDavConst.NodeTypes.NT_RESOURCE;
     }
docs: Returns the NodeType of content node according to the Content-NodeType
  header.
  
  @param contentNodeTypeHeader Content-NodeType header
  @return Nodetype