Class TestIoUtil
java.lang.Object
org.eluder.coveralls.maven.plugin.util.TestIoUtil
The Class TestIoUtil.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FileGets the file.static StringgetSha512DigestHex(String content) Gets the sha 512 digest hex.static StringreadFileContent(File file) Read file content.static voidwriteFileContent(String content, File file) Write file content.
-
Method Details
-
writeFileContent
Write file content.- Parameters:
content- the contentfile- the file- Throws:
IOException- Signals that an I/O exception has occurred.
-
readFileContent
Read file content.- Parameters:
file- the file- Returns:
- the string
- Throws:
IOException- Signals that an I/O exception has occurred.
-
getFile
-
getSha512DigestHex
-