Package pyvb :: Module sharedfolder :: Class vbSharedFolderParser
[hide private]
[frames] | no frames]

Class vbSharedFolderParser

source code

parser.vbParser --+
                  |
                 vbSharedFolderParser

A parser for parsing shared folder command line output.

Instance Methods [hide private]
pyvb.sharedfolder.vbSharedFolderParser
__init__(self)
Constructor.
source code
List
parse(self, file)
Parse the specified file and return the results.
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 dictionary as well as the attributes we are looking for.

Returns: pyvb.sharedfolder.vbSharedFolderParser
A new pyvb.sharedfolder.vbSharedFolderParser
Overrides: parser.vbParser.__init__

parse(self, file)

source code 

Parse the specified file and return the results.

Parameters:
  • file (File/List) - The file to parse.
Returns: List
A list of pyvb.sharedfolder.vbSharedFolder instances.