net.sourceforge.rapidprops
Annotation Type Props


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Props

Used to configure the global characteristics of the implementation generated for the annotated interface.


Optional Element Summary
 java.lang.Class<? extends Props.Handler> keyHandler
          The handler used to process existing keys.
 boolean trimKeys
          If true, existing keys will be trimmed.
 boolean trimValues
          If true, existing values will be trimmed.
 java.lang.Class<? extends Props.Handler> valueHandler
          The handler used to process existing values.
 

trimKeys

public abstract boolean trimKeys
If true, existing keys will be trimmed.

Default:
true

trimValues

public abstract boolean trimValues
If true, existing values will be trimmed.

Default:
true

keyHandler

public abstract java.lang.Class<? extends Props.Handler> keyHandler
The handler used to process existing keys. Frequently used handlers: Props.ToUpperCase, Props.ToLowerCase

Default:
net.sourceforge.rapidprops.Props.NoHandling.class

valueHandler

public abstract java.lang.Class<? extends Props.Handler> valueHandler
The handler used to process existing values.

Default:
net.sourceforge.rapidprops.Props.NoHandling.class