Stream factory for a text constant
Methods
|
|
__init__
create
delete
exists
getObjectInstance
open
update
|
|
__init__
|
__init__ ( self, text )
|
|
create
|
create (
self,
mode,
seek=False,
readable=False,
autocommit=False,
)
Exceptions
|
|
TypeError( "Can't create", self.address )
|
|
|
delete
|
delete ( self, autocommit=False )
Exceptions
|
|
TypeError( "Can't delete", self.address )
|
|
|
exists
|
exists ( self )
|
|
getObjectInstance
|
getObjectInstance (
klass,
context,
refInfo,
name,
attrs=None,
)
|
|
open
|
open (
self,
mode,
seek=False,
writable=False,
autocommit=False,
)
Exceptions
|
|
TypeError( "Constant data from 'data:' URL is not writable" )
|
|
|
update
|
update (
self,
mode,
seek=False,
readable=False,
append=False,
autocommit=False,
)
Exceptions
|
|
TypeError( "Can't update", self.address )
|
|
|