Class AbstractDecoderDbAccess
java.lang.Object
org.bidib.jbidibc.decoder.decoderdb.AbstractDecoderDbAccess
- Direct Known Subclasses:
DecoderDetectionAccess,DecoderFirmwareDefinitionAccess,ManufacturerAccess
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tfetch(String login, char[] password, String urlPath, Class<T> responseType, AbstractDecoderDbAccess.DataFormat format) Fetch the data from the decoderDB.static <T> TFetch the data from the decoderDB.
-
Field Details
-
REST_SERVICE_URI
- See Also:
-
-
Constructor Details
-
AbstractDecoderDbAccess
public AbstractDecoderDbAccess()
-
-
Method Details
-
fetch
public static <T> T fetch(String login, char[] password, String urlPath, Class<T> responseType, AbstractDecoderDbAccess.DataFormat format) Fetch the data from the decoderDB.- Parameters:
login- the login namepassword- the passwordurlPath- the path- Returns:
- the fetched instance
- Throws:
URISyntaxExceptionMalformedURLException
-
fetch
Fetch the data from the decoderDB.- Parameters:
login- the login namepassword- the passwordurlPath- the path- Returns:
- the fetched instance
- Throws:
URISyntaxExceptionMalformedURLException
-