Package org.dspace.text.filter
Class StandardInitialArticleWord
java.lang.Object
org.dspace.text.filter.InitialArticleWord
org.dspace.text.filter.StandardInitialArticleWord
- All Implemented Interfaces:
TextFilter
Implements existing DSpace initial article word behaviour
Note: This only works for languages defined with ISO code entries.
- Author:
- Graham Triggs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String[]getArticleWords(String lang) Abstract method to get the list of words to use in the initial word filterMethods inherited from class org.dspace.text.filter.InitialArticleWord
filter, filter
-
Constructor Details
-
StandardInitialArticleWord
public StandardInitialArticleWord()
-
-
Method Details
-
getArticleWords
Description copied from class:InitialArticleWordAbstract method to get the list of words to use in the initial word filter- Specified by:
getArticleWordsin classInitialArticleWord- Parameters:
lang- The language to retrieve article words for- Returns:
- An array of definite/indefinite article words
-