io.relayr.java.api.mock.MockBackend.class Maven / Gradle / Ivy
???? 37
) ? ?
? ? ?
?
?
? $ ? ?
? ?
) ? ?
?
?
? ?
? ?
?
?
?
? ?
? ?
? ?
? ?
? ?
?
$ ?
? ?
? ? ?
" ? ? ?
$ ? ? ' ? ? ' ? ?
+ ? ?
- ?
? ? DateDeserializer InnerClasses AUTHORISE_USER Ljava/lang/String;
ConstantValue ? USER_INFO ? USER_DEVICES ? USER_DEVICE ? WEB_SOCKET_READINGS USERS_CREATE_WUNDERBAR ? USERS_TRANSMITTERS ? USERS_TRANSMITTER ? TRANSMITTER_DEVICES ? APPS_DEVICES_START ? PUBLIC_DEVICES ? BOOKMARK_DEVICE ? BOOKMARKED_DEVICES ?
SERVER_STATUS ? MQTT_CREDENTIALS ? MQTT_DEVICE_CREDENTIALS MQTT_DEVICE_CHANNEL ?
USER_ACCOUNTS ? USER_ACCOUNT_DEVICES ? USER_ACCOUNT_LOGIN_URL ?
USER_GROUP ? USER_GROUPS ? DEVICE_MODEL ?
DEVICE_MODELS ? DEVICE_MODEL_FIRMWARES DEVICE_MODEL_FIRMWARE DEVICE_READING_MEANINGS DEVICE_STATE DEVICE_STATE_READINGS DEVICE_STATE_METADATA
HISTORY_WB
PUBLISHERS APP_INFO APP_EXTENDED APP_LIST
mGson Lcom/google/gson/Gson; ()V Code LineNumberTable LocalVariableTable this %Lio/relayr/java/api/mock/MockBackend; gsonBuilder Lcom/google/gson/GsonBuilder; RuntimeVisibleAnnotations Ljavax/inject/Inject; load &(Ljava/lang/String;)Ljava/lang/String; line fileName fileContent Ljava/lang/StringBuilder; inputStream Ljava/io/InputStream; inputStreamReader Ljava/io/InputStreamReader; reader Ljava/io/BufferedReader;
StackMapTable ? ? ? ?
Exceptions getFileFromURL (Ljava/net/URL;)Ljava/io/File; e Ljava/net/URISyntaxException; url Ljava/net/URL; file Ljava/io/File; ? ? I(Lcom/google/gson/reflect/TypeToken;Ljava/lang/String;)Ljava/lang/Object; typeToken #Lcom/google/gson/reflect/TypeToken; resource LocalVariableTypeTable (Lcom/google/gson/reflect/TypeToken; Signature U(Lcom/google/gson/reflect/TypeToken;Ljava/lang/String;)TT; getWebSocketReadings ()[Ljava/lang/Object; readings Ljava/util/List; Ljava/lang/Exception; $Ljava/util/List; ? createObservable F(Lcom/google/gson/reflect/TypeToken;Ljava/lang/String;)Lrx/Observable; asset f(Lcom/google/gson/reflect/TypeToken;Ljava/lang/String;)Lrx/Observable;
SourceFile MockBackend.java z { com/google/gson/GsonBuilder java/util/Date 4io/relayr/java/api/mock/MockBackend$DateDeserializer z x y java/lang/StringBuilder java/io/InputStreamReader / z java/io/BufferedReader z { java/io/File!" z# java/net/URISyntaxException$ z% ? ?&'()*+ %io/relayr/java/api/mock/MockBackend$1 #io/relayr/java/api/mock/MockBackend web_socket_reading.json ? ? java/util/List,- java/lang/Object./ java/lang/Exception0 { %io/relayr/java/api/mock/MockBackend$2 z125 authorise_user.json user-info.json user_devices.json user_device.json users_create_wunderbar.json users_transmitters.json users_transmitter.json users_transmitters_devices.json apps_devices_start.json public_devices.json bookmark_device.json bookmarked_devices.json server-info.json mqtt_channel.json mqtt_device_channel.json user_accounts.json user_accounts_devices.json user_accounts_login_url.json user_group.json user_groups.json device_model.json device_models.json device_model_firmwares.json device_model_firmware.json device_reading_meanings.json device_state.json device_state_readings.json device_state_metadata.json history_color_prox.json publishers.json
app-info.json app-extended.json
app-list.json java/lang/String java/io/InputStream java/lang/Throwable java/net/URL ((Lio/relayr/java/api/mock/MockBackend;)V registerTypeAdapter I(Ljava/lang/reflect/Type;Ljava/lang/Object;)Lcom/google/gson/GsonBuilder; create ()Lcom/google/gson/Gson; getClass ()Ljava/lang/Class; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; java/lang/Class getResourceAsStream )(Ljava/lang/String;)Ljava/io/InputStream; (Ljava/io/InputStream;)V (Ljava/io/Reader;)V readLine close toURI ()Ljava/net/URI; (Ljava/net/URI;)V getPath (Ljava/lang/String;)V !com/google/gson/reflect/TypeToken getType ()Ljava/lang/reflect/Type; com/google/gson/Gson fromJson >(Ljava/lang/String;Ljava/lang/reflect/Type;)Ljava/lang/Object; size ()I toArray (([Ljava/lang/Object;)[Ljava/lang/Object; printStackTrace ](Lio/relayr/java/api/mock/MockBackend;Lcom/google/gson/reflect/TypeToken;Ljava/lang/String;)V
rx/Observable6 OnSubscribe ,(Lrx/Observable$OnSubscribe;)Lrx/Observable; rx/Observable$OnSubscribe ! $ ) $ 2 3 4 5 6 3 4 7 8 3 4 9 : 3 4 ; <