Package pl.project13.core.util
Class GenericFileManager
java.lang.Object
pl.project13.core.util.GenericFileManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddumpProperties(LogInterface log, CommitIdPropertiesOutputFormat propertiesOutputFormat, File gitPropsFile, Charset sourceCharset, boolean escapeUnicode, String projectName, Properties propertiesToDump) static PropertiesreadProperties(CommitIdPropertiesOutputFormat propertiesOutputFormat, File gitPropsFile, Charset sourceCharset) static PropertiesreadProperties(LogInterface log, CommitIdPropertiesOutputFormat propertiesOutputFormat, File gitPropsFile, Charset sourceCharset, String projectName) static PropertiesreadPropertiesAsUtf8(CommitIdPropertiesOutputFormat propertiesOutputFormat, File gitPropsFile)
-
Constructor Details
-
GenericFileManager
public GenericFileManager()
-
-
Method Details
-
readPropertiesAsUtf8
public static Properties readPropertiesAsUtf8(@Nonnull CommitIdPropertiesOutputFormat propertiesOutputFormat, @Nonnull File gitPropsFile) throws GitCommitIdExecutionException - Throws:
GitCommitIdExecutionException
-
readProperties
public static Properties readProperties(@Nonnull CommitIdPropertiesOutputFormat propertiesOutputFormat, @Nonnull File gitPropsFile, @Nonnull Charset sourceCharset) throws GitCommitIdExecutionException - Throws:
GitCommitIdExecutionException
-
readProperties
@Nonnull public static Properties readProperties(@Nullable LogInterface log, @Nonnull CommitIdPropertiesOutputFormat propertiesOutputFormat, @Nonnull File gitPropsFile, @Nonnull Charset sourceCharset, @Nullable String projectName) throws GitCommitIdExecutionException - Throws:
GitCommitIdExecutionException
-
dumpProperties
public static void dumpProperties(@Nullable LogInterface log, @Nonnull CommitIdPropertiesOutputFormat propertiesOutputFormat, @Nonnull File gitPropsFile, @Nonnull Charset sourceCharset, boolean escapeUnicode, @Nullable String projectName, @Nonnull Properties propertiesToDump) throws GitCommitIdExecutionException - Throws:
GitCommitIdExecutionException
-