Package mrv :: Module conf :: Class ConfigStringIO
[hide private]
[frames] | no frames]

Class ConfigStringIO

source code

    StringIO.StringIO --+
                        |
           object --+   |
                    |   |
ExtendedFileInterface --+
                        |
                       ConfigStringIO

cStringIO object implementation of ExtendedFileInterface
Instance Methods [hide private]
 
isWritable(self)
Once we are closed, we are not writable anymore
source code
 
isClosed(self)
Returns: True if the file has been closed, and needs to be reopened for writing
source code
 
name(self)
We do not have a real name
source code
 
openForWriting(self)
We if we are closed already, there is no way to reopen us
source code

Inherited from StringIO.StringIO: __init__, __iter__, close, flush, getvalue, isatty, next, read, readline, readlines, seek, tell, truncate, write, writelines

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

isWritable(self)

source code 
Once we are closed, we are not writable anymore
Returns:
True if the file can be written to
Overrides: ExtendedFileInterface.isWritable

isClosed(self)

source code 
Returns:
True if the file has been closed, and needs to be reopened for writing
Overrides: ExtendedFileInterface.isClosed
(inherited documentation)

name(self)

source code 
We do not have a real name
Returns:
a name for the file object
Overrides: ExtendedFileInterface.name

openForWriting(self)

source code 
We if we are closed already, there is no way to reopen us
Overrides: ExtendedFileInterface.openForWriting