org.dbpedia.extraction.mappings

FileTypeExtractor

class FileTypeExtractor extends WikiPageExtractor

Identifies the type of a File page.

Linear Supertypes
WikiPageExtractor, Extractor[WikiPage], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FileTypeExtractor
  2. WikiPageExtractor
  3. Extractor
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FileTypeExtractor(context: AnyRef { ... /* 2 definitions in type refinement */ })

Value Members

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

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

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

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

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val datasets: Set[Dataset]

    Datasets generated by this extractor.

    Datasets generated by this extractor. Used for serialization. If a mapping implementation does not return all datasets it produces, serialization may fail.

    Definition Classes
    FileTypeExtractorExtractor
  7. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  9. def extract(page: WikiPage, subjectUri: String): Seq[Quad]

    Extract a single WikiPage.

    Extract a single WikiPage. We guess the file type from the file extension used by the page.

    subjectUri

    The subject URI of the generated triples

    returns

    A graph holding the extracted data

    Definition Classes
    FileTypeExtractorExtractor
  10. def extractExtension(page: WikiPage): Option[String]

    Determine the extension of a WikiPage.

    Determine the extension of a WikiPage.

    returns

    None if no extension exists, Some[String] if an extension was found.

  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def finalizeExtractor(): Unit

    when extractor needs some finalization

    when extractor needs some finalization

    Definition Classes
    Extractor
  13. def generateFileTypeQuads(extension: String, page: WikiPage, subjectUri: String): Seq[Quad]

    Generate quads that describe the file types for an extension.

    Generate quads that describe the file types for an extension. <resource> dbo:fileExtension "extension"^^xsd:string <resource> <resource> dct:type dct:StillImage <resource> rdf:type dbo:File <resource> rdf:type dbo:Document <resource> rdf:type dbo:Image <resource> rdf:type dbo:StillImage

  14. def generateImageURLQuads(page: WikiPage, subjectUri: String): Seq[Quad]

    Generate Quads for the StillImage pointed to by this file, including: <resource> foaf:depiction <file> <file> foaf:thumbnail <image-thumbnail>

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. def initializeExtractor(): Unit

    when extractor has a pre-phase

    when extractor has a pre-phase

    Definition Classes
    Extractor
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. var state: ExtractorState.Value

    Definition Classes
    Extractor
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WikiPageExtractor

Inherited from Extractor[WikiPage]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped