Home | Trees | Index | Help |
|
---|
Package CedarBackup2 :: Module writer :: Class MediaDefinition |
|
object
--+
|
MediaDefinition
Class encapsulating information about media definitions.
The following media types are accepted:MEDIA_CDR_74
: 74-minute CD-R media (650 MB
capacity)
MEDIA_CDRW_74
: 74-minute CD-RW media (650 MB
capacity)
MEDIA_CDR_80
: 80-minute CD-R media (700 MB
capacity)
MEDIA_CDRW_80
: 80-minute CD-RW media (700 MB
capacity)
util.ISO_SECTOR_SIZE)
.
Method Summary | |
---|---|
Creates a media definition for the indicated media type. | |
Property target used to get the capacity value. | |
Property target used to get the initial lead-in value. | |
Property target used to get the lead-in value. | |
Property target used to get the media type value. | |
Property target used to get the rewritable flag value. | |
Sets values based on media type. | |
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) |
Property Summary | |
---|---|
mediaType : Configured media type. | |
rewritable : Boolean indicating whether the media is rewritable. | |
initialLeadIn : Initial lead-in required for first image written to media. | |
leadIn : Lead-in required on successive images written to media. | |
capacity : Total capacity of the media before any required lead-in. |
Method Details |
---|
__init__(self,
mediaType)
Creates a media definition for the indicated media type.
|
_getCapacity(self)Property target used to get the capacity value. |
_getInitialLeadIn(self)Property target used to get the initial lead-in value. |
_getLeadIn(self)Property target used to get the lead-in value. |
_getMediaType(self)Property target used to get the media type value. |
_getRewritable(self)Property target used to get the rewritable flag value. |
_setValues(self, mediaType)Sets values based on media type.
|
Property Details |
---|
mediaTypeConfigured media type.
|
rewritableBoolean indicating whether the media is rewritable.
|
initialLeadInInitial lead-in required for first image written to media.
|
leadInLead-in required on successive images written to media.
|
capacityTotal capacity of the media before any required lead-in.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Sep 4 13:49:32 2006 | http://epydoc.sf.net |