I have a requirement where I need to get the file path from an API, I am getting the API in json format , which contains file path, location, etc.
"filepath" : "d:/systemlogs/systemlog-12-jan-2015",
"errortype" : "systemErrors"
"filepath" : "d:/MONGOlog/mongoLOG-12-jan-2015",
"errortype" : "mongoLog"
How can I achieve this, as file path does not gives the flexibility to give the relative path , or path from an API,
Any idea how it can be achieved ?