Class FileUtils
java.lang.Object
com.playtika.testcontainer.common.utils.FileUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetFileContent(org.springframework.core.io.ResourceLoader resourceLoader, String fileName) static PathresolveTemplateAsPath(org.springframework.core.io.ResourceLoader resourceLoader, String fileName, UnaryOperator<String> modifyFunc) static StringresolveTemplateAsString(org.springframework.core.io.ResourceLoader resourceLoader, String fileName, UnaryOperator<String> modifyFunc)
-
Constructor Details
-
FileUtils
public FileUtils()
-
-
Method Details
-
resolveTemplateAsString
public static String resolveTemplateAsString(org.springframework.core.io.ResourceLoader resourceLoader, String fileName, UnaryOperator<String> modifyFunc) -
resolveTemplateAsPath
public static Path resolveTemplateAsPath(org.springframework.core.io.ResourceLoader resourceLoader, String fileName, UnaryOperator<String> modifyFunc) throws IOException - Throws:
IOException
-
getFileContent
-