Package org.apache.any23.rdf
Class PopularPrefixes
- java.lang.Object
-
- org.apache.any23.rdf.PopularPrefixes
-
public class PopularPrefixes extends Object
This class act as a container for various well-known and adopted RDF Vocabulary prefixes.
-
-
Constructor Summary
Constructors Constructor Description PopularPrefixes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.any23.rdf.Prefixes
createSubset(String... prefixes)
This method perform a prefix lookup.static org.apache.any23.rdf.Prefixes
get()
-
-
-
Method Detail
-
createSubset
public static org.apache.any23.rdf.Prefixes createSubset(String... prefixes)
This method perform a prefix lookup. Given a set of prefixes it returnsPrefixes
bag class containing them.- Parameters:
prefixes
- the input prefixes where perform the lookup- Returns:
- a
Prefixes
containing all the prefixes mathing the input parameter
-
get
public static org.apache.any23.rdf.Prefixes get()
- Returns:
- a
Prefixes
with a set of well-known prefixes
-
-