| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final String[] | |
| private static final Type[] | |
| private static final String | |
| private static final int | INITIAL_BUFFER_SZ
Used as initial and incremental size of StringBuffer array when resolving DBusTypes recursively. |
| private static final Logger | |
| private static final String | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: The DBus typesThe Java types. _javaType)Will return the DBus type corresponding to the given Java type. |
| public static Object[] | Returns: The converted parameters.The parameters to convert. _parameters, Type[] The (possibly generic) types of the parameters. _types, String[] custom signatures used for variants found in _types, each found variant must have one matching custom signature _customSignatures, AbstractConnectionBase the connection _conn)Recursively converts types for serialization onto DBus. |
| public static Object[] | Returns: The converted parameters.The parameters to convert. _parameters, Type[] The (possibly generic) types of the parameters. _types, AbstractConnectionBase the connection _conn)Recursively converts types for serialization onto DBus. |
| private static int | |
| pack-priv static Object | |
| pack-priv static List | |
| public static Object[] | |
| public static String | Returns: The DBus types.The Java types. _javaType)Will return the DBus type corresponding to the given Java type. |
| public static String[] | Returns: The DBus type.The Java type. _javaType)Will return the DBus type corresponding to the given Java type. |
| public static String[] | Returns: The DBus type.The Java type. _dataType, boolean If true enforces this to be a non-compound type. (compound types are Maps, Structs and Lists/arrays). _basic)Will return the DBus type corresponding to the given Java type. |
| public static int | Returns: number of characters parsed from the type string.The DBus type or types. _dbusType, List<Type> List to return the types in. _resultValue, int Maximum number of types to parse (-1 == nolimit). _limit)Converts a dbus type string into Java Type objects, |
| private static String[] |
| CLASS_TO_ARGUMENTTYPE | back to summary |
|---|---|
| private static final Map<Class<?>, Byte> CLASS_TO_ARGUMENTTYPE | |
| EMPTY_STRING_ARRAY | back to summary |
|---|---|
| private static final String[] EMPTY_STRING_ARRAY | |
| EMPTY_TYPE_ARRAY | back to summary |
|---|---|
| private static final Type[] EMPTY_TYPE_ARRAY | |
| ERROR_MULTI_VALUED_ARRAY | back to summary |
|---|---|
| private static final String ERROR_MULTI_VALUED_ARRAY | |
| INITIAL_BUFFER_SZ | back to summary |
|---|---|
| private static final int INITIAL_BUFFER_SZ Used as initial and incremental size of StringBuffer array when resolving DBusTypes recursively. | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MTH_NAME_DESERIALIZE | back to summary |
|---|---|
| private static final String MTH_NAME_DESERIALIZE | |
| TYPE_CACHE | back to summary |
|---|---|
| private static final Map<Type, String[]> TYPE_CACHE | |
| Marshalling | back to summary |
|---|---|
| private Marshalling() | |
| convertJavaClassesToSignature | back to summary |
|---|---|
| public static String convertJavaClassesToSignature(Class<?>... _javaType) throws DBusTypeConversationRuntimeException Will return the DBus type corresponding to the given Java type. Note, container type should have their ParameterizedType not their Class passed in here.
| |
| convertParameters | back to summary |
|---|---|
| public static Object[] convertParameters(Object[] _parameters, Type[] _types, String[] _customSignatures, AbstractConnectionBase _conn) throws DBusException Recursively converts types for serialization onto DBus.
| |
| convertParameters | back to summary |
|---|---|
| public static Object[] convertParameters(Object[] _parameters, Type[] _types, AbstractConnectionBase _conn) throws DBusException Recursively converts types for serialization onto DBus.
| |
| convertToSig | back to summary |
|---|---|
| private static int convertToSig(StringBuilder _sig, int _idx, Class<?>... _javaType) | |
| deSerializeParameter | back to summary |
|---|---|
pack-priv static Object deSerializeParameter(Object _parameter, Type _type, AbstractConnectionBase _conn) throws Exception
| |
| deSerializeParameters | back to summary |
|---|---|
| pack-priv static List | |
| deSerializeParameters | back to summary |
|---|---|
public static Object[] deSerializeParameters(Object[] _parameters, Type[] _types, AbstractConnectionBase _conn) throws Exception
| |
| getDBusType | back to summary |
|---|---|
| public static String getDBusType(Type[] _javaType) throws DBusException Will return the DBus type corresponding to the given Java type. Note, container type should have their ParameterizedType not their Class passed in here. | |
| getDBusType | back to summary |
|---|---|
| public static String[] getDBusType(Type _javaType) throws DBusException Will return the DBus type corresponding to the given Java type. Note, container type should have their ParameterizedType not their Class passed in here.
| |
| getDBusType | back to summary |
|---|---|
| public static String[] getDBusType(Type _dataType, boolean _basic) throws DBusException Will return the DBus type corresponding to the given Java type. Note, container type should have their ParameterizedType not their Class passed in here.
| |
| getJavaType | back to summary |
|---|---|
| public static int getJavaType(String _dbusType, List<Type> _resultValue, int _limit) throws DBusException Converts a dbus type string into Java Type objects,
| |
| recursiveGetDBusType | back to summary |
|---|---|
private static String[] recursiveGetDBusType(StringBuffer[] _out, Type _dataType, boolean _basic, int _level) throws DBusException
| |