QuotationRemover

Configuration file

None.

Class name

com.ebd.hub.datawizard.parser.stream.QuotationRemover

Description


This preparser is deprecated.

The following steps will be executed for every line of text.


  1. The line will be trimmed (all leading and trailing whitespaces will be removed).

  2. If the first character after the trim is either an apostrophe (') or a quotation mark (")

  3. and if the last character matches the first character and

  4. if after removing the first and last character this character does not occur anymore in the line, then

  5. both paired apostrophes/quotation marks and potential leading and trailing whitespaces will be removed.


Put simply, the content between two paired apostrophes, or quotation marks will be used, if they surround the entire line.

This preparser is a stream preparser, so it is able to process any size of data, without storing the whole data in the internal memory. It will use the encoding defined in the profile.