Package pl.project13.core.util
Class GenericFileManager
java.lang.Object
pl.project13.core.util.GenericFileManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddumpProperties(@Nullable LogInterface log, @NonNull CommitIdPropertiesOutputFormat propertiesOutputFormat, @NonNull File gitPropsFile, @NonNull Charset sourceCharset, boolean escapeUnicode, @Nullable String projectName, @NonNull Properties propertiesToDump) static PropertiesreadProperties(@NonNull CommitIdPropertiesOutputFormat propertiesOutputFormat, @NonNull File gitPropsFile, @NonNull Charset sourceCharset) static @NonNull PropertiesreadProperties(@Nullable LogInterface log, @NonNull CommitIdPropertiesOutputFormat propertiesOutputFormat, @NonNull File gitPropsFile, @NonNull Charset sourceCharset, @Nullable String projectName) static PropertiesreadPropertiesAsUtf8(@NonNull CommitIdPropertiesOutputFormat propertiesOutputFormat, @NonNull 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
public static @NonNull 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
-