DefaultContentService

class DefaultContentService(manifest: Manifest, container: Container<Resource>, services: PublicationServicesHolder, resourceContentIteratorFactories: List<ResourceContentIteratorFactory>) : ContentService

Default implementation of DefaultContentService, delegating the content parsing to ResourceContentIteratorFactory.

Constructors

Link copied to clipboard
constructor(manifest: Manifest, container: Container<Resource>, services: PublicationServicesHolder, resourceContentIteratorFactories: List<ResourceContentIteratorFactory>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()

Closes any opened file handles, removes temporary files, etc.

Link copied to clipboard
open override fun content(start: Locator?): Content

Creates a Content starting from the given start location.