Class PropertiesOutputType
- java.lang.Object
-
- org.apache.torque.generator.control.outputtype.PropertiesOutputType
-
- All Implemented Interfaces:
OutputType
public class PropertiesOutputType extends Object implements OutputType
The output type for properties output.- Version:
- $Id: $
-
-
Constructor Summary
Constructors Constructor Description PropertiesOutputType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommentEnd(String lineBreak)Returns the end of a comment.StringgetCommentStart(String lineBreak)Returns the start of a comment.
-
-
-
Field Detail
-
KEY
public static final String KEY
The unique key of the output type.- See Also:
- Constant Field Values
-
-
Method Detail
-
getCommentStart
public String getCommentStart(String lineBreak)
Returns the start of a comment. It is assumed that the comment itself does not contain line breaks.- Specified by:
getCommentStartin interfaceOutputType- Parameters:
lineBreak- the line break for the current output, not null.- Returns:
- the String which starts a comment, not null.
-
getCommentEnd
public String getCommentEnd(String lineBreak)
Returns the end of a comment. It is assumed that the comment itself does not contain line breaks.- Specified by:
getCommentEndin interfaceOutputType- Parameters:
lineBreak- the line break for the current output, not null.- Returns:
- the String which starts a comment, not null.
-
-