Class LanguageFilterModel
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.rdfservice.filter.LanguageFilterModel
-
public class LanguageFilterModel extends Object
A filter of literal statements from Models according to language preferences.
-
-
Constructor Summary
Constructors Constructor Description LanguageFilterModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jena.rdf.model.ModelfilterModel(org.apache.jena.rdf.model.Model m, List<String> langs)
-
-
-
Method Detail
-
filterModel
public org.apache.jena.rdf.model.Model filterModel(org.apache.jena.rdf.model.Model m, List<String> langs)- Parameters:
m- the model to filter. May not be null.langs- list of strings of type 'en-US'. May not be null.- Returns:
- model with language-inappropriate literal statements filtered out.
-
-