Package ru.cwcode.tkach.config
Class Utils
java.lang.Object
ru.cwcode.tkach.config.Utils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendTextToLine(Path filePath, int lineNumber, String textToAppend) static voidstatic voidcreateParentDirs(File file) static ConfigLoader.Preprocessorstatic <T> Optional<T>getNewInstance(Class<T> type) static StringreadString(Path path) static booleanwriteString(Path path, String text)
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
appendTextToLine
-
readString
-
writeString
-
createParentDirs
- Throws:
IOException
-
getNewInstance
-
copy
-
getEnvironmentReplacerPreprocessor
-