net.ctdp.rfdynhud.properties
Interface PropertyLoader

All Known Implementing Classes:
ConfigurationLoader

public interface PropertyLoader

The PropertyLoader loads properties from a configuration file.

Author:
Marvin Froehlich (CTDP)

Method Summary
 java.lang.String getCurrentKey()
          Gets the currently loaded property key.
 java.lang.String getCurrentValue()
          Gets the currently loaded property value.
 Version getSourceVersion()
          Gets the rfDynHUD version, the source file was written by.
 boolean loadProperty(Property property)
          Attempts to load the value into the passed property.
 

Method Detail

getCurrentKey

java.lang.String getCurrentKey()
Gets the currently loaded property key.

Returns:
the currently loaded property key.

getCurrentValue

java.lang.String getCurrentValue()
Gets the currently loaded property value.

Returns:
the currently loaded property value.

getSourceVersion

Version getSourceVersion()
Gets the rfDynHUD version, the source file was written by.

Returns:
the rfDynHUD version, the source file was written by.

loadProperty

boolean loadProperty(Property property)
Attempts to load the value into the passed property.

Parameters:
property -
Returns:
true, if and only if the property accepted the key and value.