Class Lang

  • public class Lang
    extends java.lang.Object
    A "language" (syntax). A language has a name, some alternative names, a content type, some alternative content types, and a list of associated file extensions. Names, content types and file extensions must be unique to one language. To create a Lang constant, use LangBuilder and register with RDFLanguages.
    • Method Detail

      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        equals in class java.lang.Object
      • getName

        public java.lang.String getName()
      • getHeaderString

        public java.lang.String getHeaderString()
        As an HTTP Content-Type field value
      • getLabel

        public java.lang.String getLabel()
      • getAltNames

        public java.util.List<java.lang.String> getAltNames()
      • getAltContentTypes

        public java.util.List<java.lang.String> getAltContentTypes()
      • getFileExtensions

        public java.util.List<java.lang.String> getFileExtensions()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • toLongString

        public java.lang.String toLongString()