object MarkWrap
Factory object to produce parsers for specific markup document types.
- Alphabetic
- By Inheritance
- MarkWrap
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
converterFor(f: File): Try[MarkWrapParser]
Get a converter (parser) for the specified file.
Get a converter (parser) for the specified file.
- f
the file
- returns
a
Success
containing the appropriate object, or aFailure
if the file type isn't supported.
-
def
converterFor(mimeType: String): Try[MarkWrapParser]
Get a converter (parser) for the specified MIME type.
Get a converter (parser) for the specified MIME type.
- mimeType
the MIME type
- returns
a
Success
containing the appropriate object, or aFailure
if the MIME type isn't supported.
- Exceptions thrown
IllegalArgumentException
unsupported MIME type
-
def
converterFor(parserType: MarkupType): MarkWrapParser
Get a converter (parser) for the specified type.
Get a converter (parser) for the specified type.
- parserType
the parser type
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → 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( ... )
Deprecated Value Members
-
def
parserFor(f: File): MarkWrapParser
Get a parser for the specified file.
Get a parser for the specified file.
- f
the file
- returns
the parser.
- Annotations
- @deprecated
- Deprecated
(Since version 1.2.0) Use converterFor
- Exceptions thrown
IllegalArgumentException
unsupported MIME type
-
def
parserFor(mimeType: String): MarkWrapParser
Get a parser for the specified MIME type.
Get a parser for the specified MIME type.
- mimeType
the MIME type
- returns
the parser.
- Annotations
- @deprecated
- Deprecated
(Since version 1.2.0) Use converterFor
- Exceptions thrown
IllegalArgumentException
unsupported MIME type
-
def
parserFor(parserType: MarkupType): MarkWrapParser
Get a parser for the specified type.
Get a parser for the specified type.
- parserType
the parser type
- returns
the parser
- Annotations
- @deprecated
- Deprecated
(Since version 1.2.0) Use converterFor