public class Utils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
copyInputStreamToFile(java.io.InputStream source,
java.io.File destination,
boolean override) |
static void |
error(java.lang.String msg,
ExitCode e) |
static java.lang.String |
getDocAsCodeVersion() |
static Utils |
getInstance() |
static DocAsCodeRepository |
getRepository() |
static void |
info(java.lang.String msg) |
static void |
setDirectory(java.io.File directory) |
static void |
success(java.lang.String msg) |
static void |
warn(java.lang.String msg) |
public static void setDirectory(java.io.File directory)
public static Utils getInstance()
public static DocAsCodeRepository getRepository()
public static void success(java.lang.String msg)
public static void info(java.lang.String msg)
public static void warn(java.lang.String msg)
public static void error(java.lang.String msg, ExitCode e)
public static java.lang.String getDocAsCodeVersion()
public static void copyInputStreamToFile(java.io.InputStream source, java.io.File destination, boolean override) throws java.io.IOException
java.io.IOException