|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.client.test.TestFileManager
public class TestFileManager
Singleton implementation of the test files core management logic. Use the singleton instance of this class through the getInstance() method. The exposed interface can be useful to retrieve generic file to be loaded from different contents: known supported content protocol are "http" and "file".
Field Summary | |
---|---|
static java.lang.String |
TAG_LOG
Tag log entry name |
Method Summary | |
---|---|
protected java.lang.String |
getBaseUrl(java.lang.String scriptUrl)
Accessor Method to get the base url related to the tests location |
protected java.lang.String |
getFile(java.lang.String scriptUrl)
Get a script content given the absolute script url. |
protected static TestFileManager |
getInstance()
Core method to retireve the single instance of this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TAG_LOG
Method Detail |
---|
protected static TestFileManager getInstance()
protected java.lang.String getFile(java.lang.String scriptUrl) throws java.lang.Exception
scriptUrl
- is the String representation of the script location
java.lang.Exception
- if any error occurred while retrieving the content
of the script. This Exception canprotected java.lang.String getBaseUrl(java.lang.String scriptUrl)
scriptUrl
- the String formatted script url
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |