|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.junit.TestCaseLM
public class TestCaseLM
This TestCase extension contains some useful methods for loading Properties files from the classpath and getting general files' full name or an InputStream from the classpath.
Method Summary | |
---|---|
static String |
getFullFilePath(String aFilename)
This method finds a file from the current classpath and attempts to reconstruct its full filename. |
static Properties |
getPropertiesFile(String aFilename)
This method will read a Properties file from the current ClassLoader and return a Properties instance with the Properties from the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Properties getPropertiesFile(String aFilename) throws IllegalArgumentException
aFilename
- String with the filename to locate.
IllegalArgumentException
public static String getFullFilePath(String aFilename)
aFilename
- String with the filename to locate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |