| Modifier and Type | Class and Description |
|---|---|
protected class |
IOModule.IOTestListener |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLEANUP_AFTER_TEST |
protected Properties |
configuration |
protected FileContentReader |
fileContentReader |
protected TempService |
tempService |
| Constructor and Description |
|---|
IOModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInit() |
protected FileContentReader |
createFileContentReader() |
File |
createTempDir(String dirName) |
File |
createTempFile(String fileName) |
protected TempService |
createTempService() |
void |
deleteTempFileOrDir(File fileOrDir) |
TestListener |
getTestListener() |
void |
init(Properties configuration) |
<T> T |
readFileContent(String fileName,
Class<T> targetType,
String encoding,
Class<?> testClass) |
protected static final String CLEANUP_AFTER_TEST
protected Properties configuration
protected FileContentReader fileContentReader
protected TempService tempService
public void init(Properties configuration)
public TestListener getTestListener()
getTestListener in interface Modulepublic <T> T readFileContent(String fileName, Class<T> targetType, String encoding, Class<?> testClass)
public void deleteTempFileOrDir(File fileOrDir)
protected FileContentReader createFileContentReader()
protected TempService createTempService()
Copyright © 2016. All Rights Reserved.