Find a way to parse a metafile like this, using simple xml.
An example on how to use simple xml can be found by looking at LibraryNetworkEntity.java.
Convert the MetaLinkNetworkEntity.java for parsing the meta link files to a similar entity.
Currently, the meta links are parsed by setting a custom ConverterFactory for retrofit: MetaLinkConverterFactory.java. It uses regex to find out the mirror urls, which is very suboptimal, since we'd also like to have the hash values and all the other data from the meta files.
Find a way to parse a metafile like this, using simple xml.
An example on how to use simple xml can be found by looking at
LibraryNetworkEntity.java
. Convert theMetaLinkNetworkEntity.java
for parsing the meta link files to a similar entity.Currently, the meta links are parsed by setting a custom
ConverterFactory
for retrofit:MetaLinkConverterFactory.java
. It uses regex to find out the mirror urls, which is very suboptimal, since we'd also like to have the hash values and all the other data from the meta files.