class Extractor::PluginList

Overview

Represents the list of loaded extractor plugins.

Defined in:

extractor/plugin_list.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ptr = LibExtractor::PluginListPtr.null) #

Initializes the plugin list.


[View source]

Class Method Detail

def self.default(policy = Options::DEFAULT_POLICY) #

Loads the installed extractor plugins.


[View source]
def self.release(ptr : Pointer) #

Releases the plugin list.


[View source]

Instance Method Detail

def add(name : PluginName, options = "", flags = Options::DEFAULT_POLICY) : PluginList #

Loads a plugin and adds it to the list.


[View source]
def clear #

[View source]
def delete #

[View source]
def remove(name : PluginName) : PluginList #

Removes a plugin from the list.


[View source]
def remove_all : PluginList #

Removes all plugins from the list.


[View source]
def to_unsafe : LibExtractor::PluginListPtr #

Returns the underlying pointer.


[View source]