case class Mimetype(primary: String, sub: String, params: Map[String, String] = Map.empty) extends Product with Serializable
Utility around javax.activation.Mimetype'.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Mimetype
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Mimetype(primary: String, sub: String, params: Map[String, String] = Map.empty)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asString: String
Renders this mimetype into its string representation.
-
def
baseEqual(other: Mimetype): Boolean
Return
Return
true
if base type of
this
and
other
are equal. IOW compare without parameters. other }}} equal. IOW compare without parameters. this }}} equal. IOW compare without parameters. true }}} equal. IOW compare without parameters.
-
def
baseType: String
Return basetype as string in
Return basetype as string in
primary/sub
format. primary/sub }}}
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
def
orElse(other: Mimetype): Mimetype
Return
Return
other
if this is an unknown mimetype. other }}}
-
def
param(name: String, value: String): Mimetype
Set a new parameter
-
def
param(name: String): Option[String]
Return the value of parameter
Return the value of parameter
name
. name }}}
- val params: Map[String, String]
- val primary: String
- val sub: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- @native() @throws( ... )