final case class LanguageTag(primaryTag: String, q: QValue = QValue.One, subTags: List[String] = Nil) extends Renderable with Product with Serializable
- Source
- LanguageTag.scala
- Alphabetic
- By Inheritance
- LanguageTag
- Serializable
- Serializable
- Product
- Equals
- Renderable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new LanguageTag(primaryTag: String, q: QValue = QValue.One, subTags: List[String] = Nil)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from LanguageTag to any2stringadd[LanguageTag] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (LanguageTag, B)
- Implicit
- This member is added by an implicit conversion from LanguageTag to ArrowAssoc[LanguageTag] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
ensuring(cond: (LanguageTag) ⇒ Boolean, msg: ⇒ Any): LanguageTag
- Implicit
- This member is added by an implicit conversion from LanguageTag to Ensuring[LanguageTag] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (LanguageTag) ⇒ Boolean): LanguageTag
- Implicit
- This member is added by an implicit conversion from LanguageTag to Ensuring[LanguageTag] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): LanguageTag
- Implicit
- This member is added by an implicit conversion from LanguageTag to Ensuring[LanguageTag] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): LanguageTag
- Implicit
- This member is added by an implicit conversion from LanguageTag to Ensuring[LanguageTag] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from LanguageTag to StringFormat[LanguageTag] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def matches(languageTag: LanguageTag): Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val primaryTag: String
- val q: QValue
-
def
render(writer: Writer): writer.type
Base method for rendering this object efficiently
Base method for rendering this object efficiently
- Definition Classes
- LanguageTag → Renderable
-
def
renderString: String
Generates a String rendering of this object
Generates a String rendering of this object
- Definition Classes
- Renderable
- val subTags: List[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Renderable → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withQValue(q: QValue): LanguageTag
-
def
→[B](y: B): (LanguageTag, B)
- Implicit
- This member is added by an implicit conversion from LanguageTag to ArrowAssoc[LanguageTag] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
satisfiedBy(encoding: LanguageTag): Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 0.16.1) Use
Accept-Language
.satisfiedBy(encoding)
-
def
satisfies(encoding: LanguageTag): Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 0.16.1) Use
Accept-Language
.satisfiedBy(encoding)
-
def
withQuality(q: QValue): LanguageTag
- Annotations
- @deprecated
- Deprecated
(Since version 0.16.1) Use languageTag.withQValue