A C D F G I K L M O P R S T W 
All Classes All Packages

A

add(Object) - Method in class org.crumbleworks.forge.crumbprops.PropertyManager
Add object to the managed property files.
AnnotationNotPresentException - Exception in org.crumbleworks.forge.crumbprops.exceptions
Thrown if the manager is told to manage a class that is missing the PropertyFile annotation.
AnnotationNotPresentException(Class<?>) - Constructor for exception org.crumbleworks.forge.crumbprops.exceptions.AnnotationNotPresentException
 

C

converter() - Method in annotation type org.crumbleworks.forge.crumbprops.annotations.PropertyFile
Optional: The Converters implementation to be used for converting values to strings and back.
Converters - Interface in org.crumbleworks.forge.crumbprops
Naming scheme is:
convertToTYPE(String value);
convertFromTYPE(TYPE value);

The underlying parser checks for the 'convertToType' and 'convertFromType' methods.
convertFromBoolean(boolean) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromBooleanWrap(Boolean) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromDouble(double) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromDoubleWrap(Double) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromFloat(float) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromFloatWrap(Float) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromInteger(int) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromIntegerWrap(Integer) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromLong(long) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromLongWrap(Long) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromShort(short) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromShortWrap(Short) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertFromString(String) - Method in interface org.crumbleworks.forge.crumbprops.Converters
 
convertFromString(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToBoolean(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToBooleanWrap(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToDouble(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToDoubleWrap(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToFloat(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToFloatWrap(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToInteger(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToIntegerWrap(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToLong(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToLongWrap(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToShort(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToShortWrap(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
convertToString(String) - Method in interface org.crumbleworks.forge.crumbprops.Converters
 
convertToString(String) - Method in class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 

D

DefaultConvertersImpl - Class in org.crumbleworks.forge.crumbprops
Naming scheme is:
convertToTYPE(String value);
convertFromTYPE(TYPE value);

The underlying parser checks for the 'convertTo' and 'convertFrom' keywords to map the methods for invoking
DefaultConvertersImpl() - Constructor for class org.crumbleworks.forge.crumbprops.DefaultConvertersImpl
 
DefaultStorageImpl - Class in org.crumbleworks.forge.crumbprops
File-based implementation using Java's Properties.
DefaultStorageImpl() - Constructor for class org.crumbleworks.forge.crumbprops.DefaultStorageImpl
 
defaultValue() - Method in annotation type org.crumbleworks.forge.crumbprops.annotations.Property
Optional: A default value for the property if it isn't set.
defaultValue() - Method in class org.crumbleworks.forge.crumbprops.PropertyField
 

F

fileDir() - Method in annotation type org.crumbleworks.forge.crumbprops.annotations.PropertyFile
Optional: An absolute or relative path leading to the folder containing the physical file.
fileName() - Method in annotation type org.crumbleworks.forge.crumbprops.annotations.PropertyFile
The name of the physical file.

G

getStringValue() - Method in class org.crumbleworks.forge.crumbprops.PropertyField
 
getValue() - Method in class org.crumbleworks.forge.crumbprops.PropertyField
 

I

isManaged(Object) - Method in class org.crumbleworks.forge.crumbprops.PropertyManager
Tells if an object is managed by this manager.

K

key() - Method in annotation type org.crumbleworks.forge.crumbprops.annotations.Property
The name of the property in the file.
key() - Method in class org.crumbleworks.forge.crumbprops.PropertyField
 

L

load(Object) - Method in class org.crumbleworks.forge.crumbprops.PropertyManager
Loads managed property file from storage.
loadAll() - Method in class org.crumbleworks.forge.crumbprops.PropertyManager
 

M

MissingConversionMethodException - Exception in org.crumbleworks.forge.crumbprops.exceptions
Thrown if there's no conversion method for a specific type.
MissingConversionMethodException(Class<?>) - Constructor for exception org.crumbleworks.forge.crumbprops.exceptions.MissingConversionMethodException
 

O

ObjectNotManagedException - Exception in org.crumbleworks.forge.crumbprops.exceptions
Thrown if the object to be stored/loaded is not managed by the respective manager.
ObjectNotManagedException(Object) - Constructor for exception org.crumbleworks.forge.crumbprops.exceptions.ObjectNotManagedException
 
org.crumbleworks.forge.crumbprops - package org.crumbleworks.forge.crumbprops
 
org.crumbleworks.forge.crumbprops.annotations - package org.crumbleworks.forge.crumbprops.annotations
 
org.crumbleworks.forge.crumbprops.exceptions - package org.crumbleworks.forge.crumbprops.exceptions
 

P

Property - Annotation Type in org.crumbleworks.forge.crumbprops.annotations
Links a field to a property in the file
PropertyField - Class in org.crumbleworks.forge.crumbprops
Represents a single Property-annotated field.
PropertyField(Object, Field, Object, Method, Method) - Constructor for class org.crumbleworks.forge.crumbprops.PropertyField
 
PropertyFile - Annotation Type in org.crumbleworks.forge.crumbprops.annotations
Provides metainformation to link this class to a physical file
PropertyManager - Class in org.crumbleworks.forge.crumbprops
Manages (loading & storing) property files.
PropertyManager() - Constructor for class org.crumbleworks.forge.crumbprops.PropertyManager
 

R

read(Set<PropertyField>, Path) - Method in class org.crumbleworks.forge.crumbprops.DefaultStorageImpl
 
read(Set<PropertyField>, Path) - Method in interface org.crumbleworks.forge.crumbprops.Storage
 
remove(Object) - Method in class org.crumbleworks.forge.crumbprops.PropertyManager
Remove managed property file from manager.
removeAll() - Method in class org.crumbleworks.forge.crumbprops.PropertyManager
 

S

save(Object) - Method in class org.crumbleworks.forge.crumbprops.PropertyManager
Save managed property file to storage.
saveAll() - Method in class org.crumbleworks.forge.crumbprops.PropertyManager
 
setStringValue(String) - Method in class org.crumbleworks.forge.crumbprops.PropertyField
Sets the value on the managed PropertyFile-annotated class' instance, converted from a string.
setValue(Object) - Method in class org.crumbleworks.forge.crumbprops.PropertyField
Sets the value on the managed PropertyFile-annotated class' instance.
storage() - Method in annotation type org.crumbleworks.forge.crumbprops.annotations.PropertyFile
Optional: The Storage implementation to be used for writing and loading the physical file.
Storage - Interface in org.crumbleworks.forge.crumbprops
Defines methods for writing/reading property-files.
StorageIOException - Exception in org.crumbleworks.forge.crumbprops.exceptions
Thrown if writing/reading goes wrong.
StorageIOException(String) - Constructor for exception org.crumbleworks.forge.crumbprops.exceptions.StorageIOException
 
StorageIOException(String, Throwable) - Constructor for exception org.crumbleworks.forge.crumbprops.exceptions.StorageIOException
 
StorageIOException(Throwable) - Constructor for exception org.crumbleworks.forge.crumbprops.exceptions.StorageIOException
 

T

type() - Method in class org.crumbleworks.forge.crumbprops.PropertyField
 

W

write(Set<PropertyField>, Path) - Method in class org.crumbleworks.forge.crumbprops.DefaultStorageImpl
 
write(Set<PropertyField>, Path) - Method in interface org.crumbleworks.forge.crumbprops.Storage
 
A C D F G I K L M O P R S T W 
All Classes All Packages