Class ContentFamily


  • public final class ContentFamily
    extends Object
    Represents a family of content types. Typically, a broader, conceptual object for related content types.

    To provide your own content type mappings or display names, copy the appropriate .properties file to your classpath root, with the word "custom" inserted: ContentFamily-custom-[...]. The actual custom names and classpath location are:

    Original vs custom mapping files.
    Original Custom
    com.norconex.commmons.lang.file.ContentFamily-mappings.properties ContentFamily-custom-mappings.properties
    com.norconex.commmons.lang.file.ContentFamily-name[_locale].properties ContentFamily-custom-name[_locale].properties
    Since:
    1.4.0
    Author:
    Pascal Essiembre