net.avh4.framework.data.test
Class ClasspathResourcesExternalStorage
java.lang.Object
net.avh4.framework.data.test.ClasspathResourcesExternalStorage
- All Implemented Interfaces:
- ExternalStorage
public class ClasspathResourcesExternalStorage
- extends Object
- implements ExternalStorage
This can be used for unit testing to simulate files on an external storage device.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClasspathResourcesExternalStorage
public ClasspathResourcesExternalStorage(String root)
getString
public String getString(String filename)
- Specified by:
getString in interface ExternalStorage
getFiles
public List<String> getFiles()
- Specified by:
getFiles in interface ExternalStorage
allowFile
public void allowFile(String filename)
Copyright © 2012. All Rights Reserved.