PHP Class AppserverIo\Appserver\Core\Extractors\PharExtractor

Inheritance: extends AppserverIo\Appserver\Core\AbstractExtractor
Exibir arquivo Open project: appserver-io/appserver

Public Methods

Method Description
backupArchive ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, SplFileInfo $archive ) : void Creates a backup of files that are NOT part of the passed archive.
createUrl ( string $fileName ) : string Returns the URL for the passed pathname.
deployArchive ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, SplFileInfo $archive ) : void (non-PHPdoc)
getExtensionSuffix ( ) : string (non-PHPdoc)

Method Details

backupArchive() public method

Creates a backup of files that are NOT part of the passed archive.
public backupArchive ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, SplFileInfo $archive ) : void
$containerNode AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface The container the archive belongs to
$archive SplFileInfo Backup files that are NOT part of this archive
return void

createUrl() public method

Returns the URL for the passed pathname.
public createUrl ( string $fileName ) : string
$fileName string The pathname to return the URL for
return string The URL itself

deployArchive() public method

(non-PHPdoc)
See also: AppserverIo\Appserver\Core\AbstractExtractor::deployArchive()
public deployArchive ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, SplFileInfo $archive ) : void
$containerNode AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface The container the archive belongs to
$archive SplFileInfo The archive file to be deployed
return void

getExtensionSuffix() public method

(non-PHPdoc)
public getExtensionSuffix ( ) : string
return string the archive extension suffix