ch.qos.logback.classic.gaffer
Class PropertyUtil

java.lang.Object
  extended by ch.qos.logback.classic.gaffer.PropertyUtil
All Implemented Interfaces:
groovy.lang.GroovyObject

public class PropertyUtil
extends Object
implements groovy.lang.GroovyObject

Author:
Ceki Gücü

Constructor Summary
PropertyUtil()
           
 
Method Summary
static void attach(NestingType nestingType, Object component, Object subComponent, String name)
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String name)
           
static boolean hasAdderMethod(Object obj, String name)
           
 Object invokeMethod(String name, Object args)
           
static NestingType nestingType(Object obj, String name)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(String name, Object value)
           
static String transformFirstLetter(String s, groovy.lang.Closure closure)
           
static String upperCaseFirstLetter(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyUtil

public PropertyUtil()
Method Detail

hasAdderMethod

public static boolean hasAdderMethod(Object obj,
                                     String name)

nestingType

public static NestingType nestingType(Object obj,
                                      String name)

attach

public static void attach(NestingType nestingType,
                          Object component,
                          Object subComponent,
                          String name)

transformFirstLetter

public static String transformFirstLetter(String s,
                                          groovy.lang.Closure closure)

upperCaseFirstLetter

public static String upperCaseFirstLetter(String s)

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String name,
                           Object args)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String name,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject


Copyright © 2005-2012 QOS.ch. All Rights Reserved.