NAME

Data::Plist::Reader - Abstract superclass for BinaryReader

SYNOPSIS

# Create new
$read = Data::Plist::BinaryReader->new;

# Reading from a string C<$str>
my $plist = $read->open_string($str);

# Writing from file C<$filename>
$plist = $read->read($filename);

DESCRIPTION

Data::Plist::Reader is an abstract superclass of BinaryReader. Takes either a string or a filehandle containing data formatted as an Apple property list and returns it as a Data::Plist.

METHODS

new

Create a new reader.

open_string $content

Takes binary data $content and reads it into a filehandle. Then passes that filehandle to "open_fh".

open_file $filename

Takes a filename $filename and reads its data into a filehandle. Then passes the filehandle to "open_fh".

open_fh

Place-holder method for Reader's subclass. Currently unimplemented.