Liferay 6.2-ce-ga5

com.liferay.portal.tools.propertiesdoc
Class PropertiesDocBuilder

java.lang.Object
  extended by com.liferay.portal.tools.propertiesdoc.PropertiesDocBuilder

public class PropertiesDocBuilder
extends Object


Field Summary
protected static String DOUBLE_INDENT
           
protected static String INDENT
           
 
Constructor Summary
PropertiesDocBuilder(String[] args)
           
 
Method Summary
protected  void addPropertyComment(List<PropertyComment> propertyComments, String comment)
           
protected  List<String> extractComments(String[] lines)
           
protected  String extractDefaultProperties(String[] lines)
           
protected  String extractExampleProperties(String[] lines)
           
protected  List<PropertyComment> extractPropertyComments(String[] lines)
           
protected  String extractTitle(String[] lines)
           
protected  int getLineCount(String sectionString)
           
protected  List<PropertiesSection> getPropertiesSections(File propertiesFile)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOUBLE_INDENT

protected static final String DOUBLE_INDENT
See Also:
Constant Field Values

INDENT

protected static final String INDENT
See Also:
Constant Field Values
Constructor Detail

PropertiesDocBuilder

public PropertiesDocBuilder(String[] args)
                     throws IOException
Throws:
IOException
Method Detail

main

public static void main(String[] args)

addPropertyComment

protected void addPropertyComment(List<PropertyComment> propertyComments,
                                  String comment)

extractComments

protected List<String> extractComments(String[] lines)

extractDefaultProperties

protected String extractDefaultProperties(String[] lines)

extractExampleProperties

protected String extractExampleProperties(String[] lines)

extractPropertyComments

protected List<PropertyComment> extractPropertyComments(String[] lines)

extractTitle

protected String extractTitle(String[] lines)

getLineCount

protected int getLineCount(String sectionString)

getPropertiesSections

protected List<PropertiesSection> getPropertiesSections(File propertiesFile)
                                                 throws IOException
Throws:
IOException

Liferay 6.2-ce-ga5