java.lang.Object
org.apache.jena.graph.langtag.LangTags
Functions on language tag strings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
basicFormat
(String string) Format an language tag assumed to be valid.static String
formatLangtag
(String input) Format language tag.
-
Constructor Details
-
LangTags
public LangTags()
-
-
Method Details
-
formatLangtag
Format language tag. This is the system-wide policy for formatting language tags. -
basicFormat
Format an language tag assumed to be valid. This code only deals with langtags by the string length of the subtags. RFC 5646 section 2.1.1
-