Class SplitMetadataContributor<T>

java.lang.Object
org.dspace.importer.external.metadatamapping.contributor.SplitMetadataContributor<T>
All Implemented Interfaces:
MetadataContributor<T>

public class SplitMetadataContributor<T> extends Object implements MetadataContributor<T>
Wrapper class used to split another MetadataContributor's output into distinct values. The split is performed by matching a regular expression against the wrapped MetadataContributor's output.
Author:
Philipp Rumpf (philipp.rumpf@uni-bamberg.de)
  • Constructor Details

    • SplitMetadataContributor

      public SplitMetadataContributor(MetadataContributor<T> innerContributor, String regex)
      Parameters:
      innerContributor - The MetadataContributor whose output is split
      regex - A regular expression matching the separator between different values
  • Method Details