The
HeaderParser
class is used to get header information about the current header defined in the given file.
The achieve this it will use the
HeaderDefinition
associated to the type of the given file.
Important: is considered a license header a header which contains the word
copyright (case insensitive) within a section of the file which match the given
HeaderDefinition
associated to this
HeaderParser
.
@author Mathieu Carbou (mathieu.carbou@gmail.com)
@see com.google.code.mojo.license.header.HeaderDefinition