Home | Trees | Index | Help |
|
---|
Package dns :: Module zone :: Class _MasterReader |
|
object
--+
|
_MasterReader
Method Summary | |
---|---|
__init__(self,
tok,
origin,
rdclass,
relativize,
zone_factory,
allow_include)
| |
_eat_line(self)
| |
Process one line from a DNS master file. | |
Read a DNS master file and build a zone object. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Variable Summary | |
---|---|
bool | allow_include : is $INCLUDE allowed? |
current_file : the file object of the $INCLUDed file being parsed (None if no
$INCLUDE is active). | |
dns.name.Name object | current_origin : The current origin |
dns.name.Name object | last_name : The last name read |
bool | relativize : should names in the zone be relativized? |
list of (tokenizer, current_origin, last_name, file) tuples. | saved_state : saved reader state (used when processing $INCLUDE) |
dns.tokenizer.Tokenizer object | tok : The tokenizer |
int | ttl : The default TTL |
dns.zone.Zone object | zone : the zone |
Method Details |
---|
_rr_line(self)Process one line from a DNS master file. |
read(self)Read a DNS master file and build a zone object.
|
Instance Variable Details |
---|
allow_includeis $INCLUDE allowed?
|
current_filethe file object of the $INCLUDed file being parsed (None if no $INCLUDE is active). |
current_originThe current origin
|
last_nameThe last name read
|
relativizeshould names in the zone be relativized?
|
saved_statesaved reader state (used when processing $INCLUDE)
|
tokThe tokenizer
|
ttlThe default TTL
|
zonethe zone
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 1 12:10:11 2004 | http://epydoc.sf.net |