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

Class vbDvdParser

source code

parser.vbParser --+
                  |
                 vbDvdParser

A parser for parsing the command line output related to virtual machine DVDs.

Instance Methods [hide private]
pyvb.dvd.vbDvdParser
__init__(self)
Constructor.
source code
List
parse(self, file)
Parse the specified file for a virtual machine 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.vbDvdParser
A new pyvb.dvd.vbDvdParser instance.
Overrides: parser.vbParser.__init__

parse(self, file)

source code 

Parse the specified file for a virtual machine DVD.

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