Class IdSchemaUtils
- java.lang.Object
-
- io.mosip.kernel.packetmanager.util.IdSchemaUtils
-
@Component public class IdSchemaUtils extends Object
Instantiates a new id schema utils.
-
-
Constructor Summary
Constructors Constructor Description IdSchemaUtils()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIdSchema(Double version)Get the id schema from syncdata servicestatic StringgetJson(String configServerFileStorageURL, String uri)Gets the json.StringgetSource(String id, Double idschemaVersion)Gets the source field category from id schema
-
-
-
Method Detail
-
getSource
public String getSource(String id, Double idschemaVersion) throws IOException, ApiNotAccessibleException
Gets the source field category from id schema- Parameters:
id- the id- Returns:
- the source
- Throws:
IOExceptionApiNotAccessibleException
-
getIdSchema
public String getIdSchema(Double version) throws ApiNotAccessibleException, IOException
Get the id schema from syncdata service- Returns:
- idschema as string
- Throws:
ApiNotAccessibleExceptionIOException
-
-