Package com.wowza.wms.amf
Interface IAMFDataObj
- 
- All Known Implementing Classes:
- AMFDataMixedArray,- AMFDataObj
 
 public interface IAMFDataObj
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontainsKey(String name)Return true if the object/array contains keyAMFDataget(int index)Return the object at a particular index.AMFDataget(String name)Return the object at a particular key.booleangetBoolean(int index)Get item at index return as booleanbooleangetBoolean(String name)Get item at key return as booleanbytegetByte(int index)Get item at index return as bytebytegetByte(String name)Get item at key return as bytejava.util.DategetDate(int index)Get item at index return as Datejava.util.DategetDate(String name)Get item at key return as DatedoublegetDouble(int index)Get item at index return as doubledoublegetDouble(String name)Get item at key return as doublefloatgetFloat(int index)Get item at index return as floatfloatgetFloat(String name)Get item at key return as floatintgetInt(int index)Get item at index return as intintgetInt(String name)Get item at key return as intStringgetKey(int index)Return the key at a particular index.java.util.ListgetKeys()Return a list of all the keys (the list is a copy)longgetLong(int index)Get item at index return as longlonggetLong(String name)Get item at key return as longAMFDataObjgetObject(int index)Get item at index return as AMFDataObjAMFDataObjgetObject(String name)Get item at key return as AMFDataObjshortgetShort(int index)Get item at index return as shortshortgetShort(String name)Get item at key return as shortStringgetString(int index)Get item at index return as StringStringgetString(String name)Get item at key return as Stringvoidput(String name, boolean data)Put or replace boolean value at key (data will be wrapped in an AMFDataItem object)voidput(String name, double data)Put or replace double value at key (data will be wrapped in an AMFDataItem object)voidput(String name, int data)Put or replace int value at key (data will be wrapped in an AMFDataItem object)voidput(String name, long data)Put or replace long value at key (data will be wrapped in an AMFDataItem object)voidput(String name, AMFData data)Put or replace object at keyvoidput(String name, String data)Put or replace string value at key (data will be wrapped in an AMFDataItem object)voidput(String name, java.util.Date data)Put or replace date value at key (data will be wrapped in an AMFDataItem object)AMFDataremove(int index)Remove element by indexAMFDataremove(String name)Remove element by key
 
- 
- 
- 
Method Detail- 
containsKeyboolean containsKey(String name) Return true if the object/array contains key- Parameters:
- name- key
- Returns:
- Return true the object/array contains key
 
 - 
putvoid put(String name, AMFData data)Put or replace object at key- Parameters:
- name- key
- data- object
 
 - 
putvoid put(String name, String data)Put or replace string value at key (data will be wrapped in an AMFDataItem object)- Parameters:
- name- key
- data- string value
 
 - 
putvoid put(String name, double data)Put or replace double value at key (data will be wrapped in an AMFDataItem object)- Parameters:
- name- key
- data- double value
 
 - 
putvoid put(String name, int data)Put or replace int value at key (data will be wrapped in an AMFDataItem object)- Parameters:
- name- key
- data- int value
 
 - 
putvoid put(String name, long data)Put or replace long value at key (data will be wrapped in an AMFDataItem object)- Parameters:
- name- key
- data- long value
 
 - 
putvoid put(String name, java.util.Date data)Put or replace date value at key (data will be wrapped in an AMFDataItem object)- Parameters:
- name- key
- data- date value
 
 - 
putvoid put(String name, boolean data)Put or replace boolean value at key (data will be wrapped in an AMFDataItem object)- Parameters:
- name- key
- data- boolean value
 
 - 
getKeysjava.util.List getKeys() Return a list of all the keys (the list is a copy)- Returns:
- new list that contains one entry for each key
 
 - 
getKeyString getKey(int index) Return the key at a particular index.- Parameters:
- index-
- Returns:
- Return key at index or null if out of bounds
 
 - 
getAMFData get(String name) Return the object at a particular key.- Parameters:
- name- key
- Returns:
- Return object or null if out of bounds
 
 - 
getAMFData get(int index) Return the object at a particular index.- Parameters:
- index- index
- Returns:
- Return object or null if out of bounds
 
 - 
removeAMFData remove(String name) Remove element by key- Parameters:
- name- key
- Returns:
- removed object or null if not found
 
 - 
removeAMFData remove(int index) Remove element by index- Parameters:
- index- index
- Returns:
- removed object or null if not found
 
 - 
getStringString getString(String name) Get item at key return as String- Parameters:
- name- key
- Returns:
- Return item as String or null if out of bounds
 
 - 
getIntint getInt(String name) Get item at key return as int- Parameters:
- name- key
- Returns:
- Return item as int or 0 if out of bounds
 
 - 
getLonglong getLong(String name) Get item at key return as long- Parameters:
- name- key
- Returns:
- Return item as long or 0 if out of bounds
 
 - 
getShortshort getShort(String name) Get item at key return as short- Parameters:
- name- key
- Returns:
- Return item as short or 0 if out of bounds
 
 - 
getDoubledouble getDouble(String name) Get item at key return as double- Parameters:
- name- key
- Returns:
- Return item as double or 0 if out of bounds
 
 - 
getFloatfloat getFloat(String name) Get item at key return as float- Parameters:
- name- key
- Returns:
- Return item as float or 0 if out of bounds
 
 - 
getBytebyte getByte(String name) Get item at key return as byte- Parameters:
- name- key
- Returns:
- Return item as byte or 0 if out of bounds
 
 - 
getBooleanboolean getBoolean(String name) Get item at key return as boolean- Parameters:
- name- key
- Returns:
- Return item as boolean or false if out of bounds
 
 - 
getDatejava.util.Date getDate(String name) Get item at key return as Date- Parameters:
- name- key
- Returns:
- Return item as Date or null if out of bounds
 
 - 
getObjectAMFDataObj getObject(String name) Get item at key return as AMFDataObj- Parameters:
- name- key
- Returns:
- Return item as AMFDataObj or null if out of bounds
 
 - 
getStringString getString(int index) Get item at index return as String- Parameters:
- index- index
- Returns:
- Return item as String or null if out of bounds
 
 - 
getIntint getInt(int index) Get item at index return as int- Parameters:
- index- index
- Returns:
- Return item as int or 0 if out of bounds
 
 - 
getLonglong getLong(int index) Get item at index return as long- Parameters:
- index- index
- Returns:
- Return item as long or 0 if out of bounds
 
 - 
getShortshort getShort(int index) Get item at index return as short- Parameters:
- index- index
- Returns:
- Return item as short or 0 if out of bounds
 
 - 
getBytebyte getByte(int index) Get item at index return as byte- Parameters:
- index- index
- Returns:
- Return item as byte or 0 if out of bounds
 
 - 
getDoubledouble getDouble(int index) Get item at index return as double- Parameters:
- index- index
- Returns:
- Return item as double or 0 if out of bounds
 
 - 
getFloatfloat getFloat(int index) Get item at index return as float- Parameters:
- index- index
- Returns:
- Return item as float or 0 if out of bounds
 
 - 
getBooleanboolean getBoolean(int index) Get item at index return as boolean- Parameters:
- index- index
- Returns:
- Return item as boolean or false if out of bounds
 
 - 
getDatejava.util.Date getDate(int index) Get item at index return as Date- Parameters:
- index- index
- Returns:
- Return item as Date or null if out of bounds
 
 - 
getObjectAMFDataObj getObject(int index) Get item at index return as AMFDataObj- Parameters:
- index- index
- Returns:
- Return item as AMFDataObj or null if out of bounds
 
 
- 
 
-