|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.uiuc.ncsa.myproxy.oa4mp.client.storage.AssetStoreUtil
public class AssetStoreUtil
A utility that contains a couple of useful idioms.
Created by Jeff Gaynor
on 1/28/13 at 2:27 PM
| Constructor Summary | |
|---|---|
AssetStoreUtil()
|
|
| Method Summary | |
|---|---|
static edu.uiuc.ncsa.security.core.Identifier |
createID()
Create an identifier with a random id plus timestamp. |
static Asset |
get(String identifier,
AssetStore assetStore)
Retrieves the asset with the identifier from the store. |
protected static SecureRandom |
getRandom()
|
static void |
save(String identifier,
Asset asset,
AssetStore assetStore)
Saves the asset with the given identifier to the store. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetStoreUtil()
| Method Detail |
|---|
protected static SecureRandom getRandom()
public static edu.uiuc.ncsa.security.core.Identifier createID()
public static Asset get(String identifier,
AssetStore assetStore)
identifier - assetStore -
public static void save(String identifier,
Asset asset,
AssetStore assetStore)
identifier - asset - assetStore -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||