Package org.biojava.bio.program.tagvalue
Interface ChangeTable.Changer
-
- All Known Implementing Classes:
ChangeTable.ChainedChanger
,RegexChanger
- Enclosing class:
- ChangeTable
public static interface ChangeTable.Changer
Callback used to produce a new value from an old one.- Since:
- 1.3
- Author:
- Matthew Pocock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
change(Object value)
Produce a modified value from an old value.
-
-
-
Method Detail
-
change
Object change(Object value) throws ParserException
Produce a modified value from an old value.
It is strongly recommended that this method is re-entrant and does not modify the state of the Changer in a way that would affect future return -values.
- Parameters:
value
- the old value Object- Returns:
- the new value Object
- Throws:
ParserException
- if value could not be changed
-
-