org.nuiton.license.plugin.header.transformer
Class XmlFileHeaderTransformer
java.lang.Object
org.nuiton.license.plugin.header.transformer.AbstractFileHeaderTransformer
org.nuiton.license.plugin.header.transformer.XmlFileHeaderTransformer
- All Implemented Interfaces:
- FileHeaderTransformer
public class XmlFileHeaderTransformer
- extends AbstractFileHeaderTransformer
Implementation of FileHeaderTransformer for xml format.
- Since:
- 2.1
- Author:
- tchemit
- Plexus component:
| Methods inherited from class org.nuiton.license.plugin.header.transformer.AbstractFileHeaderTransformer |
boxComment, boxProcessTag, getCommentEndTag, getCommentLinePrefix, getCommentStartTag, getDescription, getName, getProcessEndTag, getProcessStartTag, getSectionDelimiter, setCommentEndTag, setCommentLinePrefix, setCommentStartTag, setDescription, setName, setProcessEndTag, setProcessStartTag, setSectionDelimiter, toFileHeader, toString, unboxComent, unboxProcessTag |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- See Also:
- Constant Field Values
DESCRIPTION
public static final String DESCRIPTION
- See Also:
- Constant Field Values
COMMENT_LINE_PREFIX
public static final String COMMENT_LINE_PREFIX
- See Also:
- Constant Field Values
COMMENT_START_TAG
public static final String COMMENT_START_TAG
- See Also:
- Constant Field Values
COMMENT_END_TAG
public static final String COMMENT_END_TAG
- See Also:
- Constant Field Values
XmlFileHeaderTransformer
public XmlFileHeaderTransformer()
addHeader
public String addHeader(String header,
String content)
- Description copied from interface:
FileHeaderTransformer
- Adds the header.
- Specified by:
addHeader in interface FileHeaderTransformer- Overrides:
addHeader in class AbstractFileHeaderTransformer
- Parameters:
header - header to addcontent - content of original file
- Returns:
- the new full file content beginning with header
Copyright © 2008-2010 CodeLutin. All Rights Reserved.