Kernel::System::Configuration::Format

NAME

Kernel::System::Configuration::Format

DESCRIPTION

Base class for configuration data export/import format.

Print()

Prints the data to STDOUT.

    $Format->Print( Data => [...] );

WriteToFile()

Write the data to a file, returns the filename.

    my $Filename = $Format->WriteToFile( Data => [...] );

ReadFile()

Reads a configuration file.

    my $Data = $Format->ReadFile( Filename => '...' );

Dump()

Dumps the data to a string.

    my $String = $Format->Dump( Data => [...] );

Load()

Loads the data from a string.

    my $Data = $Format->Load( Data => '...' );

FileExtensions()

Returns an arrayref of the file extensions supported.

Scroll to Top