public class ListSupplierFactoryAdapter extends AdapterImpl implements SupplierFactory<InputStream>
SupplierFactory.ProviderAdapter.Internaltarget| Modifier | Constructor and Description |
|---|---|
protected |
ListSupplierFactoryAdapter(List list) |
| Modifier and Type | Method and Description |
|---|---|
Supplier<InputStream> |
create(Context ctx) |
static SupplierFactory<org.json.JSONArray> |
createJsonArraySupplierFactory(List list)
Creates
SupplierFactory of JSONArray from a list. |
static SupplierFactory<org.json.JSONObject> |
createJsonObjectSupplierFactory(Map map)
Creates
SupplierFactory of JSONObject from a map. |
getTarget, isAdapterForType, notifyChanged, setTarget, unsetTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadapt, apply, asFunctionFactory, contextify, empty, from, from, then, thenandThenprotected ListSupplierFactoryAdapter(List list)
public Supplier<InputStream> create(Context ctx) throws Exception
public static SupplierFactory<org.json.JSONArray> createJsonArraySupplierFactory(List list)
SupplierFactory of JSONArray from a list.
The factory is aware of model classes in Ncore package. Model elements
of unknown classes are adapted to SupplierFactory.public static SupplierFactory<org.json.JSONObject> createJsonObjectSupplierFactory(Map map)
SupplierFactory of JSONObject from a map.
The factory is aware of model classes in Ncore package. Model elements
of unknown classes are adapted to SupplierFactory.Copyright © 2022 Nasdanika. All rights reserved.