Package com.playtika.test.common.utils
Class FileUtils
- java.lang.Object
-
- com.playtika.test.common.utils.FileUtils
-
public class FileUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description FileUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
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
-
-