4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECTypesTranslator Class Reference

Translates JSON with types from SEC API to requested type definitions. More...

Collaboration diagram for cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECTypesTranslator:
Collaboration graph

Static Public Member Functions

static ArrayList
< SecApiReqTypeDef
translate (String typesData)
 

Static Private Member Functions

static boolean checkException (JSONObject jsonData)
 

Detailed Description

Translates JSON with types from SEC API to requested type definitions.

Translates JSON with types from SEC API to requested type definitions

Definition at line 25 of file SECTypesTranslator.java.

Member Function Documentation

static boolean cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECTypesTranslator.checkException ( JSONObject  jsonData)
staticprivate

Checks if JSON from SEC API contains exception and if yes, logs it

Parameters
jsonDataJSON data from SEC API
Returns
If exception was presented, returns true, false otherwise

Definition at line 127 of file SECTypesTranslator.java.

Here is the caller graph for this function:

static ArrayList<SecApiReqTypeDef> cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECTypesTranslator.translate ( String  typesData)
static

Definition at line 27 of file SECTypesTranslator.java.

Here is the call graph for this function:


The documentation for this class was generated from the following file: