public class PropertiesDocBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DOUBLE_INDENT |
protected static String |
INDENT |
| Constructor and Description |
|---|
PropertiesDocBuilder(Map<String,String> arguments) |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected static final String DOUBLE_INDENT
protected static final String INDENT
public PropertiesDocBuilder(Map<String,String> arguments) throws IOException
IOExceptionprotected void addPropertyComment(List<PropertyComment> propertyComments, String comment)
protected List<PropertyComment> extractPropertyComments(String[] lines)
protected int getLineCount(String sectionString)
protected List<PropertiesSection> getPropertiesSections(File propertiesFile) throws IOException
IOException