public final class FileTestHelper extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static void | createLineBasedFile(File file,
                   String[] data) | 
| static void | generateTestData(OutputStream out,
                long size) | 
| static void | generateTestFile(File testfile,
                int size) | 
| static File | newFile(org.junit.rules.TemporaryFolder folder,
       String filename)Check if the given file exists in the given folder and remove it. | 
public static void generateTestData(OutputStream out, long size) throws IOException
IOExceptionpublic static void generateTestFile(File testfile, int size) throws IOException
IOExceptionpublic static void createLineBasedFile(File file, String[] data) throws IOException
IOExceptionpublic static File newFile(org.junit.rules.TemporaryFolder folder, String filename) throws IOException
IOExceptionCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.