org.crosswire.jsword.book.sword
Interface ConfigValueInterceptor
public interface ConfigValueInterceptor
Intercepts values from the configuration before these are widely distributed to the rest of the application.
- Author:
- Chris Burrell
- See Also:
The GNU Lesser General Public License for details.
intercept
Object intercept(String bookName,
ConfigEntryType configEntryType,
Object value)
- Intercepts a value before distribution to the rest of the JSword library
- Parameters:
bookName
- the initials of the book that is being interceptedconfigEntryType
- the configuration entry type, describing which field is being accessedvalue
- the value to be intercepted
- Returns:
- the new value, if different