Package tech.kronicle.testutils
Class MalformedFileCreator
- java.lang.Object
-
- tech.kronicle.testutils.MalformedFileCreator
-
public class MalformedFileCreator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static byte[]MALFORMED_UTF8_BYTES
-
Constructor Summary
Constructors Constructor Description MalformedFileCreator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateFile(java.nio.file.Path file, boolean malformed)static voidcreateFile(java.nio.file.Path file, boolean malformed, java.lang.String startContent, java.lang.String endContent)static voidcreateMalformedFile(java.nio.file.Path file)static voidcreateMalformedFile(java.nio.file.Path file, java.lang.String startContent, java.lang.String endContent)static voidcreateRegularFile(java.nio.file.Path file, java.lang.String content)
-
-
-
Method Detail
-
createMalformedFile
public static void createMalformedFile(java.nio.file.Path file)
-
createMalformedFile
public static void createMalformedFile(java.nio.file.Path file, java.lang.String startContent, java.lang.String endContent)
-
createRegularFile
public static void createRegularFile(java.nio.file.Path file, java.lang.String content)
-
createFile
public static void createFile(java.nio.file.Path file, boolean malformed)
-
createFile
public static void createFile(java.nio.file.Path file, boolean malformed, java.lang.String startContent, java.lang.String endContent)
-
-