Class CleanIri
- java.lang.Object
-
- org.aksw.limes.core.io.preprocessing.APreprocessingFunction
-
- org.aksw.limes.core.io.preprocessing.functions.CleanIri
-
- All Implemented Interfaces:
IPreprocessingFunction
public class CleanIri extends APreprocessingFunction implements IPreprocessingFunction
Cleans IRIs e.g.http://www.w3.org/2000/01/rdf-schema#labelwill becomelabelBasically it removes everything until the last/or#- Author:
- Daniel Obraczka
-
-
Field Summary
-
Fields inherited from class org.aksw.limes.core.io.preprocessing.APreprocessingFunction
AT, checkFunctionString, commaNotInsideQuotation
-
-
Constructor Summary
Constructors Constructor Description CleanIri()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceapplyFunctionAfterCheck(Instance i, String property, String... arguments)static StringcleanIriString(String iri)intmaxNumberOfArguments()intminNumberOfArguments()-
Methods inherited from class org.aksw.limes.core.io.preprocessing.APreprocessingFunction
applyFunction, isComplex, retrieveArguments, retrieveKeywordArgumentValue, sanityCheckArguments, testIfNumberOfArgumentsIsLegal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aksw.limes.core.io.preprocessing.IPreprocessingFunction
applyFunction, isComplex
-
-
-
-
Method Detail
-
applyFunctionAfterCheck
public Instance applyFunctionAfterCheck(Instance i, String property, String... arguments)
- Specified by:
applyFunctionAfterCheckin classAPreprocessingFunction
-
minNumberOfArguments
public int minNumberOfArguments()
- Specified by:
minNumberOfArgumentsin interfaceIPreprocessingFunction
-
maxNumberOfArguments
public int maxNumberOfArguments()
- Specified by:
maxNumberOfArgumentsin interfaceIPreprocessingFunction
-
-