com.liferay.portal.tools.propertiesdoc
Class PropertiesDocBuilder
java.lang.Object
com.liferay.portal.tools.propertiesdoc.PropertiesDocBuilder
public class PropertiesDocBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOUBLE_INDENT
protected static final String DOUBLE_INDENT
- See Also:
- Constant Field Values
INDENT
protected static final String INDENT
- See Also:
- Constant Field Values
PropertiesDocBuilder
public PropertiesDocBuilder(String[] args)
throws IOException
- Throws:
IOException
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