public class FileUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static File |
createMavenTestDir(Class<?> klazz)
Creates an empty directory at ${basedir}/target/{testClassName} and cleans it if necessary.
|
static String |
escapedSeparator()
return properly escaped File.separator that can be plugged into a regular expression
|
static File |
getMavenTargetDir()
Requires to be executed via maven.
|
static void |
provideCleanDirectory(File dir) |
public static File getMavenTargetDir()
public static File createMavenTestDir(Class<?> klazz)
klazz - public static void provideCleanDirectory(File dir)
public static String escapedSeparator()
Copyright © 2016 Github jjYBdx4IL Projects. All rights reserved.