public class FileTestUtils extends Object
Constructor and Description |
---|
FileTestUtils() |
Modifier and Type | Method and Description |
---|---|
static File |
createDir(String name) |
static File |
createUniqueDir(String name) |
static File |
createUniqueFile(String dirname,
String name) |
static File |
generateFile(String file,
String content) |
static File |
getTestOutputDir() |
public FileTestUtils()
public static File createUniqueFile(String dirname, String name) throws IOException
IOException
public static File createUniqueDir(String name) throws IOException
IOException
public static File createDir(String name) throws IOException
IOException
public static File getTestOutputDir()
public static File generateFile(String file, String content) throws IOException
IOException
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.