Package com.microsoft.azure.kusto.data
Class Ensure
- java.lang.Object
-
- com.microsoft.azure.kusto.data.Ensure
-
public class Ensure extends Object
-
-
Constructor Summary
Constructors Constructor Description Ensure()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidargIsNotNull(Object arg, String varName)static voidfileExists(File file, String argFile)static voidfileExists(String filePath)static voidisFalse(boolean condition, String message)static voidisTrue(boolean condition, String message)static voidstringIsNotBlank(String str, String varName)
-
-
-
Method Detail
-
fileExists
public static void fileExists(File file, String argFile) throws FileNotFoundException
- Throws:
FileNotFoundException
-
fileExists
public static void fileExists(String filePath) throws FileNotFoundException
- Throws:
FileNotFoundException
-
isTrue
public static void isTrue(boolean condition, String message)
-
isFalse
public static void isFalse(boolean condition, String message)
-
-