bee.coder
HeaderStyle
kiss.Extensible
isSkipLine
(String
line
)
boolean
String
line
)String line |
The line to test. |
boolean |
true if this line must be skipped or false. |
Tells if the given content line must be skipped according to this header definition. The header is outputted after any skipped line if any pattern defined on this point or on the first line if not pattern defined.
isFirstHeaderLine
(String
line
)
boolean
String
line
)String line |
The line to test. |
boolean |
true if the first line of a header have been recognized or false. |
Tells if the given content line is the first line of a possible header of this definition kind.
isEndHeaderLine
(String
line
)
boolean
String
line
)String line |
The end to test. |
boolean |
true if the end line of a header have been recognized or false. |
Tells if the given content line is the end line of a possible header of this definition kind.
decorate
(ListString
header
)
ListString
ListString
header
)String
List header |
|
List |
Build decorated header text by using the specified law header text.
convert
(ListString
source
, License
license
)
ListString
ListString
source
, License
license
)String
List source |
A source to update. |
License license |
A license definition. |
List |
An updated source. |
Apply the specified license header to the specified source.