org.codehaus.mojo.properties
Class AbstractWritePropertiesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.properties.AbstractWritePropertiesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
WriteActiveProfileProperties, WriteProjectProperties

public abstract class AbstractWritePropertiesMojo
extends org.apache.maven.plugin.AbstractMojo

Version:
$Id: AbstractWritePropertiesMojo.java 8861 2009-01-21 15:35:38Z pgier $
Author:
Zarar Siddiqi

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractWritePropertiesMojo()
           
 
Method Summary
 String getComment()
           
 String getEncoding()
           
protected  Properties getFormattedProperties(Properties properties, OutputStyle style)
           
 File getOutputFile()
           
 OutputStyle getOutputStyle()
           
 String getPrefix()
           
 org.apache.maven.project.MavenProject getProject()
           
 void setComment(String comment)
           
 void setEncoding(String encoding)
           
 void setOutputFile(File outputFile)
           
 void setOutputStyle(OutputStyle outputStyle)
           
 void setPrefix(String prefix)
           
protected  void writeProperties(File file, Properties properties, OutputStyle outputStyle, String prefix, String encoding, String comment)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Constructor Detail

AbstractWritePropertiesMojo

public AbstractWritePropertiesMojo()
Method Detail

writeProperties

protected void writeProperties(File file,
                               Properties properties,
                               OutputStyle outputStyle,
                               String prefix,
                               String encoding,
                               String comment)

getFormattedProperties

protected Properties getFormattedProperties(Properties properties,
                                            OutputStyle style)

getProject

public org.apache.maven.project.MavenProject getProject()

getOutputFile

public File getOutputFile()

setOutputFile

public void setOutputFile(File outputFile)

getOutputStyle

public OutputStyle getOutputStyle()

setOutputStyle

public void setOutputStyle(OutputStyle outputStyle)

getPrefix

public String getPrefix()

setPrefix

public void setPrefix(String prefix)

getEncoding

public String getEncoding()

setEncoding

public void setEncoding(String encoding)

getComment

public String getComment()

setComment

public void setComment(String comment)


Copyright © 2009-2012 The Kuali Foundation. All Rights Reserved.