factory for creating assets of the required type , takes the type of asset desired given by the assettype enumeration and the unique uri that describes the asset concode_field_sep Logger logger concode_field_sep placeholderType placeHolder
Asset function ( AssetType arg0 , AssetID arg1 ) { switch ( arg0 ) { case FILE : return new AssetFile ( arg1 ) ; case OTHER : throw new RuntimeException ( "srini_string" ) ; } return null ; }