Class ReplaceValueSetter

java.lang.Object
org.onebusaway.gtfs_transformer.deferred.ReplaceValueSetter
All Implemented Interfaces:
ValueSetter

public class ReplaceValueSetter extends Object implements ValueSetter
A ValueSetter that can do string-replacement operations on a bean value.
  • Constructor Details

    • ReplaceValueSetter

      public ReplaceValueSetter(String matchRegex, String replacementValue)
  • Method Details

    • setValue

      public void setValue(org.onebusaway.csv_entities.schema.BeanWrapper bean, String propertyName)
      Description copied from interface: ValueSetter
      Updates the specified property of the specified bean as appropriate.
      Specified by:
      setValue in interface ValueSetter