Table of Contents

Class: ConstantStream ./src/peak/naming/factories/openable.py

Stream factory for a text constant

Base Classes   
object
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 )

Table of Contents

This document was automatically generated on Mon Nov 11 01:11:05 2024 by HappyDoc version 2.1