code: public static String getConversionSettings(CmsObject cms, CmsResource resource) {
  
          // read the content-conversion property
          String contentConversion;
          try {
              String resourceName = cms.getSitePath(resource);
              CmsProperty contentConversionProperty = cms.readPropertyObject(
                  resourceName,
                  CmsPropertyDefinition.PROPERTY_CONTENT_CONVERSION,
                  true);
              contentConversion = contentConversionProperty.getValue(CmsHtmlConverter.PARAM_DISABLED);
          } catch (CmsException e) {
              // if there was an error reading the property, choose a default value
              contentConversion = CmsHtmlConverter.PARAM_DISABLED;
          }
          return contentConversion;
      }
docs: Reads the content conversion property of a given resource and returns its value.<p>
  
  A default value (disabled) is returned if the property could not be read.<p>
  
  @param cms the CmsObject
  @param resource the resource in the VFS
  @return the content conversion property value