org.codehaus.mojo.freeform.writer
Class PropertyWriter

java.lang.Object
  extended by org.codehaus.mojo.freeform.writer.PropertyWriter

public class PropertyWriter
extends java.lang.Object

This class represents the Writer for a List of Properties.

Author:
Rapha??l Pi??roni

Constructor Summary
PropertyWriter(java.io.File propertyFile, org.apache.maven.plugin.logging.Log log, org.apache.maven.artifact.repository.ArtifactRepository localRepository, org.apache.maven.project.MavenProject mavenProject, java.lang.String mavenpath)
          Creates a new instance of PropertyWriter.
 
Method Summary
 void write()
          This is the main method called on the Class for writing the property file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyWriter

public PropertyWriter(java.io.File propertyFile,
                      org.apache.maven.plugin.logging.Log log,
                      org.apache.maven.artifact.repository.ArtifactRepository localRepository,
                      org.apache.maven.project.MavenProject mavenProject,
                      java.lang.String mavenpath)
Creates a new instance of PropertyWriter.

Parameters:
mavenProject - The maven project.
propertyFile - The file to write the properties in.
log - The maven plugin logger.
localRepository - The local repository.
mavenpath - The path to the Maven executable
Method Detail

write

public void write()
           throws FreeformPluginException
This is the main method called on the Class for writing the property file. It creates the XMLWriter for the property file.

Throws:
FreeformPluginException - if something goes wrong.


Copyright © 2005-2009. All Rights Reserved.