public final class AssetDataStrategyFactory extends Object
| Constructor and Description |
|---|
AssetDataStrategyFactory() |
| Modifier and Type | Method and Description |
|---|---|
static AssetDataReadStrategy |
getReadStrategy(ICS ics, String assettype, boolean isFlex)
get the proper read strategy for given asset type
|
static AssetDataWriteStrategy |
getWriteStrategy(ICS ics, String assettype, boolean isFlex)
get the proper write strategy for given asset type
|
public static AssetDataReadStrategy getReadStrategy(ICS ics, String assettype, boolean isFlex) throws AssetAccessException
ics - the ICS objectassettype - the asset type to get the strategyisFlex - whether the asset type is a flex asset type or notAssetAccessException - throws exception when occur reating the strategypublic static AssetDataWriteStrategy getWriteStrategy(ICS ics, String assettype, boolean isFlex) throws AssetAccessException
ics - the ICS objectassettype - the asset type to get the strategyisFlex - whether the asset type is a flex asset type or notAssetAccessException - throws exception when occur reating the strategy