From 2148dea982fb908fc2bfa7ba6256b6cfec6e476d Mon Sep 17 00:00:00 2001 From: Gideon le Grange Date: Mon, 30 Dec 2013 17:59:54 +0200 Subject: [PATCH 1/3] Small cleanup in readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1027933..fe489e3 100644 --- a/README.md +++ b/README.md @@ -54,12 +54,16 @@ for (Map r : rs) { } ``` +### Filtering results + The same query, but with the results filtered: Print all interfaces of type 'vlan'. ```java List> rs = con.execute("/interface/print where type=vlan"); ``` +### Selecting returned fields + The same query, but we only want certain result fields names Print all interfaces of type 'vlan' and return their name. ```java From 3a9238b41a5a0ba6b7aa478414bffe16b182d5c5 Mon Sep 17 00:00:00 2001 From: Gideon le Grange Date: Tue, 7 Jan 2014 21:30:27 +0200 Subject: [PATCH 2/3] Updated readme to explain 1.1 --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index fe489e3..034cca5 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,7 @@ This project provides a Java client to manipulate Mikrotik routers using the rem Versions -------- -The current stable version is 1.0. The master branch is on version 1.1, which is the currently being tested and will be released soon. - -Version 1.1 will add: -* TLS (SSL) support to encrypt API traffic. +The current stable version 1.1, which added TLS (SSL) support to encrypt API traffic. Examples From 3aded5419ffaecc0ecc12bd64f6e8e84fb160f53 Mon Sep 17 00:00:00 2001 From: Gideon le Grange Date: Wed, 15 Jan 2014 07:43:14 +0200 Subject: [PATCH 3/3] Readme typo fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 034cca5..814c368 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ ApiConnection con = ApiConnection.connectTLS("10.0.1.1"); // connect to router u Currently only anonymous TLS is supported, not certificates. -In following examples the connection, logging and disconnection code will not be repeated. +In following examples the connection, login and disconnection code will not be repeated. Reading data ------------