fr.paris.lutece.plugins.pluginwizard.service.generator
Class PropertiesGenerator
java.lang.Object
fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractGenerator
fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractFileGenerator
fr.paris.lutece.plugins.pluginwizard.service.generator.PropertiesGenerator
- All Implemented Interfaces:
- Generator
public class PropertiesGenerator
- extends AbstractFileGenerator
Class generates properties needed by the plugin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesGenerator
public PropertiesGenerator()
generate
public Map generate(PluginModel pm)
- Visiting parts of the file tree structure
- Parameters:
pm
- The plugin model
- Returns:
- A hadh map with the name of the file and a string in which is found the corresponding source code
getFilename
protected String getFilename(PluginModel pm)
- Get the filename
- Specified by:
getFilename
in class AbstractFileGenerator
- Parameters:
pm
- The plugin model
- Returns:
- The filename
getPath
public String getPath()
- Returns the Path
- Overrides:
getPath
in class AbstractFileGenerator
- Returns:
- The Path
Copyright © 2013 Mairie de Paris. All Rights Reserved.