code: public CmsResource createResource(String resourcename, int type) throws CmsException, CmsIllegalArgumentException {
  
          return createResource(resourcename, type, new byte[0], new ArrayList<CmsProperty>(0));
      }
docs: Creates a new resource of the given resource type with empty content and no properties.<p>
  
  @see #createResource(String, int, byte[], List)
  
  @param resourcename the name of the resource to create (full path)
  @param type the type of the resource to create
  
  @return the created resource
  
  @throws CmsException if something goes wrong
  @throws CmsIllegalArgumentException if the given <code>resourcename</code> is null or of length 0