ePages 7.38.0 - DE_EPAGES/Core/API/Object/ConfStructureImportHandler.pm

Package DE_EPAGES::Core::API::Object::ConfStructureImportHandler

Imports '*.conf' files and returns a ConfStructure object.

Example
my $Importer = DE_EPAGES::Core::API::Object::ConfStructureImportHandler->new('epages');
my $ConfStruct = $Importer->getConfStructure('epages.conf');

Functions

getConfStructure
new

getConfStructure

Returns the conf structure object of an *.conf file.

Syntax
$ConfStruct = $self->getConfStructure($FileName);
Input
$FileName (string)
configuration file name
Return
$ConfStruct (object)
conf structure object

new

Creates a new ConfStructureImportHandler object

Syntax
$Handler = DE_EPAGES::Core::API::Object::ConfStructureImportHandler->new($ConfType);
Input
$ConfType (string)
type of configuration file e.g. epages,standard
Return
$Handler (object)
SemanticStructureImportHandler