Package org.hawaiiframework.logging.util
Class LogUtil
- java.lang.Object
-
- org.hawaiiframework.logging.util.LogUtil
-
public final class LogUtil extends Object
LogUtil to indent data.- Since:
- 2.0.0
- Author:
- Rutger Lubbers
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
indent(String value, String indent)
Indent thevalue
with the givenindent
.static void
writeToFile(Path parentDir, String filename, InputStream input)
Writes theinput
to the filefilename
in the directoryparentDir
.
-
-
-
Method Detail
-
indent
public static String indent(String value, String indent)
Indent thevalue
with the givenindent
.
-
writeToFile
public static void writeToFile(Path parentDir, String filename, InputStream input) throws IOException
Writes theinput
to the filefilename
in the directoryparentDir
.- Throws:
IOException
-
-