|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rsa.authagent.authapi.datarepository.ResourceLocation
public class ResourceLocation
This class provides a list of mehtods to set path for data resources. It uses a hash-map approach; that is, associate the specified path with the specified DataResource object.
| Method Summary | |
|---|---|
void |
addResourcesLocation(DataResource dataresource,
java.lang.String path)
|
static boolean |
exists(java.lang.String path)
This method check if path is valid file name |
static ResourceLocation |
getInstance()
|
java.lang.String |
getResourceLocation(DataResource dataresource)
|
boolean |
isDataResourceAvailable(DataResource dataresource)
This method check if the path has been set up for a specified DataResource object |
boolean |
isEmpty()
This method check if there is no DataResource path has been set up. |
static boolean |
isFile(java.lang.String path)
This method check if path is valid file name |
void |
removeResources(DataResource dataresource)
This method remove the specified DataResource object and it's path from the hash table. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ResourceLocation getInstance()
public void addResourcesLocation(DataResource dataresource,
java.lang.String path)
dataresource - A DataResource object,e.g.DataResource SDCONFpath - A String contains dataResource path and it's name
for example, "c:\\agentAPI\\sdconf.rec"DataResourcepublic java.lang.String getResourceLocation(DataResource dataresource)
dataresource - A DataResource object,e.g.DataResource SDCONF
public boolean isEmpty()
public boolean isDataResourceAvailable(DataResource dataresource)
dataresource - A specified DataResource object want to be check
public static boolean isFile(java.lang.String path)
path - A string cintains filepath and it's name
public void removeResources(DataResource dataresource)
dataresource - A specified DataResource object want to be removedpublic static boolean exists(java.lang.String path)
path - A string cintains filepath and it's name
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||