Uses of Class
com.mycila.maven.plugin.license.header.HeaderDefinition
-
Packages that use HeaderDefinition Package Description com.mycila.maven.plugin.license com.mycila.maven.plugin.license.document com.mycila.maven.plugin.license.header -
-
Uses of HeaderDefinition in com.mycila.maven.plugin.license
Methods in com.mycila.maven.plugin.license that return HeaderDefinition Modifier and Type Method Description HeaderDefinitionHeaderStyle. toHeaderDefinition() -
Uses of HeaderDefinition in com.mycila.maven.plugin.license.document
Methods in com.mycila.maven.plugin.license.document that return HeaderDefinition Modifier and Type Method Description HeaderDefinitionDocument. getHeaderDefinition()Constructors in com.mycila.maven.plugin.license.document with parameters of type HeaderDefinition Constructor Description Document(File file, HeaderDefinition headerDefinition, String encoding, String[] keywords, DocumentPropertiesLoader documentPropertiesLoader) -
Uses of HeaderDefinition in com.mycila.maven.plugin.license.header
Methods in com.mycila.maven.plugin.license.header that return HeaderDefinition Modifier and Type Method Description HeaderDefinitionHeaderType. getDefinition()Returns theHeaderDefinitionwhich corresponds to this enumeration instance.HeaderDefinitionHeaderParser. getHeaderDefinition()Returns the header definition associated to this header parser (itself bounded to a file).Methods in com.mycila.maven.plugin.license.header that return types with arguments of type HeaderDefinition Modifier and Type Method Description static Map<String,HeaderDefinition>HeaderType. defaultDefinitions()Returns the header definitions of every default definitions declared by this enumeration as a map using the header type name as key.Map<String,HeaderDefinition>AdditionalHeaderDefinition. getDefinitions()Returns the header definitions declared by the external header definition as a map using the header type name as key.Methods in com.mycila.maven.plugin.license.header with parameters of type HeaderDefinition Modifier and Type Method Description StringHeader. applyDefinitionAndSections(HeaderDefinition headerDefinition, boolean unix)StringHeader. buildForDefinition(HeaderDefinition type, boolean unix)booleanHeader. isMatchForText(Document d, HeaderDefinition headerDefinition, boolean unix, String encoding)booleanHeader. isMatchForText(String potentialFileHeader, HeaderDefinition headerDefinition, boolean unix)Determines if a potential file header (typically, the start of the file plus some buffer space) matches this header, as rendered with the specifiedHeaderDefinitionand line-ending.booleanHeader. isMatchForText(String expected, String potentialFileHeader, HeaderDefinition headerDefinition, boolean unix)Constructors in com.mycila.maven.plugin.license.header with parameters of type HeaderDefinition Constructor Description HeaderParser(FileContent fileContent, HeaderDefinition headerDefinition, String[] keywords)Creates aHeaderParserobject linked to the given file content and the associated header definition based on the file type.
-