Package pl.project13.core
Class PropertiesFileGenerator
- java.lang.Object
-
- pl.project13.core.PropertiesFileGenerator
-
public class PropertiesFileGenerator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PropertiesFileGenerator(LogInterface log, BuildFileChangeListener buildFileChangeListener, CommitIdPropertiesOutputFormat propertiesOutputFormat, java.lang.String prefixDot, java.lang.String projectName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.io.FilecraftPropertiesOutputFile(java.io.File projectDir, java.io.File propsFile)Used for up-to-date checks in maven pluginstatic nu.studer.java.util.OrderedPropertiescreateOrderedProperties()voidmaybeGeneratePropertiesFile(java.util.Properties localProperties, java.io.File projectDir, java.io.File propsFile, java.nio.charset.Charset sourceCharset, boolean escapeUnicode)
-
-
-
Constructor Detail
-
PropertiesFileGenerator
public PropertiesFileGenerator(LogInterface log, BuildFileChangeListener buildFileChangeListener, CommitIdPropertiesOutputFormat propertiesOutputFormat, java.lang.String prefixDot, java.lang.String projectName)
-
-
Method Detail
-
maybeGeneratePropertiesFile
public void maybeGeneratePropertiesFile(@Nonnull java.util.Properties localProperties, java.io.File projectDir, java.io.File propsFile, java.nio.charset.Charset sourceCharset, boolean escapeUnicode) throws GitCommitIdExecutionException- Throws:
GitCommitIdExecutionException
-
createOrderedProperties
public static nu.studer.java.util.OrderedProperties createOrderedProperties()
-
craftPropertiesOutputFile
public static java.io.File craftPropertiesOutputFile(java.io.File projectDir, java.io.File propsFile)Used for up-to-date checks in maven plugin
-
-