Class

com.scalakml.io

KmlFileReader

Related Doc: package io

Permalink

class KmlFileReader extends AnyRef

Reads into a kml root element (Kml) from various file, string and NodeSeq input sources

See also

KmlFromXml

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KmlFileReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KmlFileReader(kmlExtractor: Option[KmlExtractor] = Some(KmlFromXml), parser: SAXParser = scala.xml.XML.parser)

    Permalink

    kmlExtractor

    the KmlExtractor object used to extract kml from xml, default KmlFromXml

    parser

    the SAX XML parser, default scala.xml.XML.parser

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getKmlFromFile(name: String): Option[Kml]

    Permalink

    get a Kml root element from the input file name

    get a Kml root element from the input file name

    name

    the input file name

    returns

    a Kml root element option

  11. def getKmlFromFile(fd: FileDescriptor): Option[Kml]

    Permalink

    get a Kml root element from the input file descriptor

    get a Kml root element from the input file descriptor

    fd

    the input xml file descriptor

    returns

    a Kml root element option

  12. def getKmlFromFile(file: File): Option[Kml]

    Permalink

    get a Kml root element from the input file

    get a Kml root element from the input file

    file

    the input xml file

    returns

    a Kml root element option

  13. def getKmlFromNodeSeq(nodeSeq: NodeSeq): Option[Kml]

    Permalink

    get a Kml root element from its kml NodeSeq

    get a Kml root element from its kml NodeSeq

    nodeSeq

    the input xml node sequence

    returns

    a Kml root element option

  14. def getKmlFromString(xmlString: String): Option[Kml]

    Permalink

    get a Kml root element from its input string representation

    get a Kml root element from its input string representation

    xmlString

    the input xml string

    returns

    a Kml root element option

  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def loadKml(is: InputStream): Option[Kml]

    Permalink

    get a Kml root element from the inputStream

    get a Kml root element from the inputStream

    is

    kml inputStream

    returns

    a Kml root element option

  18. def loadKml(source: InputSource): Option[Kml]

    Permalink

    get a Kml root element from the input source

    get a Kml root element from the input source

    source

    kml input source, such as a file, a file name, a file descriptor

    returns

    a Kml root element option

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped