Package com.wowza.util
Class AMFUtils
- Object
-
- com.wowza.util.AMFUtils
-
public class AMFUtils extends Object
Utilities for the conversion between Java and AMF
-
-
Constructor Summary
Constructors Constructor Description AMFUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AMFData[]
convertParams(Object[] params)
Converts an array of Java native data values and class to AMF data types.
-
-
-
Method Detail
-
convertParams
public static AMFData[] convertParams(Object[] params)
Converts an array of Java native data values and class to AMF data types. It will box primitive data types into wrapper classes. Supported input data types are:
- null
- Double
- Float
- Long
- Integer
- Short
- Byte
- Number
- Date
- Boolean
- String
- StringBuffer
- byte[] - assumed to be raw AMFData
- ByteBuffer - assumed to be raw AMFData
- AMFData
- AMFDataMixedArray
- AMFDataArray
- AMFDataItem
- AMFDataList
- AMFDataObj
- Parameters:
params
- Array of Java- Returns:
- Array of AMFData[] objects
-
-