Object CopyrightStatementsProcessor

  • All Implemented Interfaces:

    
    public class CopyrightStatementsProcessor
    
                        

    A copyright statement consists in most cases of three parts: a copyright prefix, years and the owner. For legal reasons the prefix part must not be modified at all while adjusting some special characters in the owner part is acceptable. Entries can be merged by year as well. The main idea of the algorithm is to process only entries with a known copyright prefix. This allows stripping the prefix and processing the remaining string separately and thus guarantees that the prefix part is not modified at all.

    TODO: Maybe treat URLs similar to years, e.g. entries which differ only in URLs and years can be merged.