Class AssertFile
- java.lang.Object
-
- io.inugami.api.exceptions.asserts.AssertFile
-
public final class AssertFile extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static AssertFileINSTANCE
-
Constructor Summary
Constructors Constructor Description AssertFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertFileExecutable(ErrorCode errorCode, File path)voidassertFileExecutable(File path)voidassertFileExecutable(String message, File path)voidassertFileExists(ErrorCode errorCode, File path)voidassertFileExists(File path)voidassertFileExists(String message, File path)voidassertFileReadable(ErrorCode errorCode, File path)voidassertFileReadable(File path)voidassertFileReadable(String message, File path)voidassertFileWrite(ErrorCode errorCode, File path)voidassertFileWrite(File path)voidassertFileWrite(String message, File path)voidassertFolderExists(ErrorCode errorCode, File path)voidassertFolderExists(File path)voidassertFolderExists(String message, File path)
-
-
-
Field Detail
-
INSTANCE
public static final AssertFile INSTANCE
-
-
Method Detail
-
assertFileExists
public void assertFileExists(File path)
-
assertFileReadable
public void assertFileReadable(File path)
-
assertFileWrite
public void assertFileWrite(File path)
-
assertFileExecutable
public void assertFileExecutable(File path)
-
assertFolderExists
public void assertFolderExists(File path)
-
-