Properties

digraph inheritancec3596f6b48 { rankdir=UD; ratio=compress; size="8.0, 12.0"; "Properties" [URL="#taurus.core.util.propertyfile.Properties",color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="A Python replacement for java.util.Properties"]; }
class Properties(props=None)[source]

Bases: object

A Python replacement for java.util.Properties

escape(value)[source]
getProperty(key)[source]

Return a property for the given key

getPropertyDict()[source]
list(out=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)[source]

Prints a listing of the properties to the stream ‘out’ which defaults to the standard output

load(stream)[source]

Load properties from an open file stream

processPair(key, value)[source]

Process a (key, value) pair

propertyNames()[source]

Return an iterator over all the keys of the property dictionary, i.e the names of the properties

setProperty(key, value)[source]

Set the property for the given key

store(out, header='')[source]

Write the properties list to the stream ‘out’ along with the optional ‘header’

unescape(value)[source]