commandbox.system.modules.propertyFile.models

Class PropertyFile

lucee.Component
    extended by commandbox.system.modules.propertyFile.models.PropertyFile

I am a new Model Object

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any javaPropertyFile


    • access = public
    • returntype = any
    true false
    any path


    • access = public
    • returntype = any
    true false
    any syncedNames


    • access = public
    • returntype = any
    true false
    Constructor Summary
    init()
          Constructor.
    Method Summary
    any exists(string name)
         exists.
    any get(string name, [string defaultValue])
         get.
    any getAsStruct()
         getAsStruct.
    string getJavaPropertyFile()
    string getPath()
    string getSyncedNames()
    any load(string path)
    any remove(string name)
         clear.
    any set(string name, string value)
         set.
    any setJavaPropertyFile(any javaPropertyFile)
    any setPath(any path)
    any setSyncedNames(any syncedNames)
    any store([string path='[runtime expression]'])
    private any syncProperties()
         Keeps public properties in sync with Java object.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    javaPropertyFile

    property any javaPropertyFile

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    path

    property any path

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    syncedNames

    property any syncedNames

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    Method Detail

    exists

    public any exists(string name)

    exists

    Parameters:
    name

    get

    public any get(string name, [string defaultValue])

    get

    Parameters:
    name
    defaultValue

    getAsStruct

    public any getAsStruct()

    getAsStruct


    getJavaPropertyFile

    public string getJavaPropertyFile()


    getPath

    public string getPath()


    getSyncedNames

    public string getSyncedNames()


    load

    public any load(string path)

    Parameters:
    path

    remove

    public any remove(string name)

    clear

    Parameters:
    name

    set

    public any set(string name, string value)

    set

    Parameters:
    name
    value

    setJavaPropertyFile

    public any setJavaPropertyFile(any javaPropertyFile)

    Parameters:
    javaPropertyFile

    setPath

    public any setPath(any path)

    Parameters:
    path

    setSyncedNames

    public any setSyncedNames(any syncedNames)

    Parameters:
    syncedNames

    store

    public any store([string path='[runtime expression]'])

    Parameters:
    path

    syncProperties

    private any syncProperties()

    Keeps public properties in sync with Java object