Package | Description |
---|---|
com.google.code.mojo.license.document | |
com.google.code.mojo.license.header |
Modifier and Type | Method and Description |
---|---|
HeaderDefinition |
Document.getHeaderDefinition() |
Constructor and Description |
---|
Document(File file,
HeaderDefinition headerDefinition,
String encoding,
String[] keywords) |
Constructor and Description |
---|
DocumentFactory(File basedir,
Map<String,String> mapping,
Map<String,HeaderDefinition> definitions,
String encoding,
String[] keywords) |
Modifier and Type | Method and Description |
---|---|
HeaderDefinition |
HeaderType.getDefinition()
Returns the
HeaderDefinition which corresponds to this enumeration instance. |
HeaderDefinition |
HeaderParser.getHeaderDefinition()
Returns the header definition associated to this header parser (itself bounded to a file).
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
Header.buildForDefinition(HeaderDefinition type,
boolean unix) |
Constructor and Description |
---|
HeaderParser(FileContent fileContent,
HeaderDefinition headerDefinition,
String[] keywords)
Creates a
HeaderParser object linked to the given file content and the associated header definition
based on the file type. |
Copyright © 2008-2012 Mathieu Carbou. All Rights Reserved.