org.ontoware.rdf2go.util
Class LanguageTools

java.lang.Object
  extended by org.ontoware.rdf2go.util.LanguageTools

public class LanguageTools
extends java.lang.Object


Constructor Summary
LanguageTools()
           
 
Method Summary
static Model selectLanguage(Model model, java.lang.String language)
          Deletes all literals except the ones in the desired language.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LanguageTools

public LanguageTools()
Method Detail

selectLanguage

public static Model selectLanguage(Model model,
                                   java.lang.String language)
Deletes all literals except the ones in the desired language. Removes all languatagges literals that DO NOT start with the 'language' string.

Parameters:
model -
language -
Returns:
a Model that contains only literals in the desired language


Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.