public final class ContentFamily extends Object
.properties
file to your classpath root, with
the word "custom" inserted: ContentFamily-custom-[...]
.
The actual custom names and classpath location are:
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 |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(ContentType contentType) |
boolean |
contains(String contentType) |
boolean |
equals(Object obj) |
static ContentFamily |
forContentType(ContentType contentType) |
static ContentFamily |
forContentType(String contentType) |
String |
getDisplayName() |
String |
getDisplayName(Locale locale) |
String |
getId() |
int |
hashCode() |
String |
toString() |
static ContentFamily |
valueOf(String familyId) |
public static ContentFamily valueOf(String familyId)
public static ContentFamily forContentType(ContentType contentType)
public static ContentFamily forContentType(String contentType)
public String getId()
public String getDisplayName()
public boolean contains(ContentType contentType)
public boolean contains(String contentType)
Copyright © 2008–2021 Norconex Inc.. All rights reserved.