public class Exporter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,QualitativeValueModel> |
qualitativeValuesById |
static SimpleDateFormat |
UTC_DATE_FORMAT |
| Constructor and Description |
|---|
Exporter() |
| Modifier and Type | Method and Description |
|---|---|
static org.json.JSONObject |
createJSONCategoryWeightModel(CategoryWeightModel model,
List<String> categories) |
static org.json.JSONObject |
createJSONComercialSpeciesModel(CommercialSpeciesModel model,
android.content.Context context,
WloSqlOpenHelper soh) |
static org.json.JSONObject |
createJSONCommercialSpecies(CommercialSpecies commercialSpecies) |
static org.json.JSONObject |
createJSONContextModel(ContextModel model,
android.content.Context context,
WloSqlOpenHelper soh) |
static org.json.JSONObject |
createJSONLocation(Location location) |
static org.json.JSONObject |
createJSONLocationModel(LocationModel model,
android.content.Context context,
WloSqlOpenHelper soh) |
static org.json.JSONObject |
createJSONMeasurementModel(MeasurementModel model,
List<String> categories) |
static org.json.JSONObject |
createJSONMensuration(Mensuration mensuration) |
static org.json.JSONObject |
createJSONMetier(Metier metier) |
static org.json.JSONObject |
createJSONMetierModel(MetierModel model,
android.content.Context context,
WloSqlOpenHelper soh) |
static org.json.JSONObject |
createJSONPresentation(Presentation presentation) |
static org.json.JSONObject |
createJSONScientificSpecies(ScientificSpecies scientificSpecies) |
static org.json.JSONObject |
createJSONScientificSpeciesModel(ScientificSpeciesModel model,
android.content.Context context,
WloSqlOpenHelper soh) |
static org.json.JSONObject |
createJSONState(State state) |
static org.json.JSONObject |
createJSONVesselModel(VesselModel model,
android.content.Context context,
WloSqlOpenHelper soh) |
static String |
exportData(android.content.Context context) |
public static final SimpleDateFormat UTC_DATE_FORMAT
protected static Map<String,QualitativeValueModel> qualitativeValuesById
public static String exportData(android.content.Context context) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONContextModel(ContextModel model, android.content.Context context, WloSqlOpenHelper soh) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONLocationModel(LocationModel model, android.content.Context context, WloSqlOpenHelper soh) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONVesselModel(VesselModel model, android.content.Context context, WloSqlOpenHelper soh) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONMetierModel(MetierModel model, android.content.Context context, WloSqlOpenHelper soh) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONComercialSpeciesModel(CommercialSpeciesModel model, android.content.Context context, WloSqlOpenHelper soh) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONScientificSpeciesModel(ScientificSpeciesModel model, android.content.Context context, WloSqlOpenHelper soh) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONMeasurementModel(MeasurementModel model, List<String> categories) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONCategoryWeightModel(CategoryWeightModel model, List<String> categories) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONLocation(Location location) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONMetier(Metier metier) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONCommercialSpecies(CommercialSpecies commercialSpecies) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONMensuration(Mensuration mensuration) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONState(State state) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONPresentation(Presentation presentation) throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject createJSONScientificSpecies(ScientificSpecies scientificSpecies) throws org.json.JSONException
org.json.JSONExceptionCopyright © 2013–2014 CodeLutin. All rights reserved.