diff --git a/README.adoc b/README.md similarity index 97% rename from README.adoc rename to README.md index a987eca..201b757 100644 --- a/README.adoc +++ b/README.md @@ -1,20 +1,19 @@ -= reoc-mls-client +# reoc-mls-client The REoC RETS Client - Java is a library used to access data on RETS compliant servers. This is a fork of the [jrets](https://github.com/jpfielding/jrets) master branch, which it self is a fork of the [CART RETS client](http://cart.sourceforge.net/). -== Scan QR +## Scan QR You can Subscribe us by scan QR below: image::https://cdn.ossez.com/img/cwikius/cwikus.jpg[] -== Examples +## Examples Simple example of a search: - - - public static void main(String[] args) throws MalformedURLException { +``` +public static void main(String[] args) throws MalformedURLException { //Create a RetsHttpClient (other constructors provide configuration i.e. timeout, gzip capability) RetsHttpClient httpClient = new CommonsHttpClient(); @@ -77,9 +76,14 @@ Simple example of a search: } } } +``` + + Simple example making a GetObjectRequest: + +``` public static void main(String[] args) throws MalformedURLException { //Create a RetsHttpClient (other constructors provide configuration i.e. timeout, gzip capability) @@ -173,11 +177,11 @@ Simple example making a GetObjectRequest: } } } - +``` Example of Geting Metadata: - +``` public static void main(String[] args) throws MalformedURLException { //Create a RetsHttpClient (other constructors provide configuration i.e. timeout, gzip capability) @@ -232,6 +236,8 @@ Example of Geting Metadata: } } } +``` + ## License