Package manifold.json.rt.api
Class Loader<E>
- java.lang.Object
-
- manifold.json.rt.api.Loader<E>
-
- Type Parameters:
E- The sub-interface extendingIJsonBindingsBackedorIJsonList
public class Loader<E> extends Object
This class is used as part of the JSON API. It provides methods to load an instance of a JSON interface from potential JSON, XML, CSV, and YAML sources such as String, File, and URL (via HTTP GET). SeeRequester, obtained from a JSON API object'ssend()method, for methods to send an HTTP request using GET, POST, PUT, PATCH, & DELETE.
-
-
Constructor Summary
Constructors Constructor Description Loader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EfromCsv(String csvText)EfromCsvFile(File file)EfromCsvReader(Reader reader)EfromCsvUrl(String urlBase, String... urlSuffix)EfromCsvUrl(URL url)EfromJson(String jsonText)EfromJsonFile(File file)EfromJsonReader(Reader reader)EfromJsonUrl(String urlBase, String... urlSuffix)EfromJsonUrl(URL url)EfromXml(String xmlText)EfromXmlFile(File file)EfromXmlReader(Reader reader)EfromXmlUrl(String urlBase, String... urlSuffix)EfromXmlUrl(URL url)EfromYaml(String yamlText)EfromYamlFile(File file)EfromYamlReader(Reader reader)EfromYamlUrl(String urlBase, String... urlSuffix)EfromYamlUrl(URL url)
-