class Swfextract extends Binary

Methods

string|null
getVersion()

Try to get the version of the binary. If the detection fails, return null

from Binary
getName()

No description

string|null
listEmbedded(string $pathfile)

Executes the command to list the embedded objects

string|null
extract(string $pathfile, EmbeddedObject $embedded, string $outputFile)

Execute the command to extract an embedded object from a flash file

static Swfextract
create(array|ConfigurationInterface $conf = array(), LoggerInterface $logger = null)

Creates the Swfextract binary driver

Details

in Binary at line 28
string|null getVersion()

Try to get the version of the binary. If the detection fails, return null

Return Value

string|null

at line 24
getName()

at line 38
string|null listEmbedded(string $pathfile)

Executes the command to list the embedded objects

Parameters

string $pathfile

Return Value

string|null The ouptut string, null on error

Exceptions

RuntimeException

at line 62
string|null extract(string $pathfile, EmbeddedObject $embedded, string $outputFile)

Execute the command to extract an embedded object from a flash file

Parameters

string $pathfile the file
EmbeddedObject $embedded The id of the object
string $outputFile the path where to extract

Return Value

string|null The ouptut string, null on error

Exceptions

InvalidArgumentException
RuntimeException

at line 93
static Swfextract create(array|ConfigurationInterface $conf = array(), LoggerInterface $logger = null)

Creates the Swfextract binary driver

Parameters

array|ConfigurationInterface $conf
LoggerInterface $logger

Return Value

Swfextract

Exceptions

ExecutableNotFound In case the executable is not found