Package pyvb :: Module dvd :: Class vbHostDvdParser
[hide private]
[frames] | no frames]

Class vbHostDvdParser

source code

parser.vbParser --+
                  |
                 vbHostDvdParser

A parser for parsing the command line output related to the host DVD.

Instance Methods [hide private]
pyvb.dvd.vbHostDvdParser
__init__(self)
Constructor.
source code
List
parse(self, file)
Parse the specified file for a host DVD.
source code

Inherited from parser.vbParser: addAttribute, removeAttribute

Inherited from parser.vbParser (private): _parse, _parseAdditional

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Constructor. Initialize the found attributes and the attributes we are looking for.

Returns: pyvb.dvd.vbHostDvdParser
A new pyvb.dvd.vbHostDvdParser instance.
Overrides: parser.vbParser.__init__

parse(self, file)

source code 

Parse the specified file for a host DVD.

Parameters:
  • file (File) - The file to parse.
Returns: List
A list of pyvb.dvd.vbHostDvd instances.