commit e2a63190551228c2e69a20072dac8194065deb4f Author: Christos Houtouridis Date: Tue Nov 27 01:06:41 2018 +0200 Init commit with echo and a kind of log diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3da1fa2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*/bin/* +*.project +*.classpath +*.pdf diff --git a/bin/net/hoo2/auth/vmodem/Com.class b/bin/net/hoo2/auth/vmodem/Com.class new file mode 100755 index 0000000..c85d241 Binary files /dev/null and b/bin/net/hoo2/auth/vmodem/Com.class differ diff --git a/bin/net/hoo2/auth/vmodem/Echo.class b/bin/net/hoo2/auth/vmodem/Echo.class new file mode 100755 index 0000000..9ff02c5 Binary files /dev/null and b/bin/net/hoo2/auth/vmodem/Echo.class differ diff --git a/bin/net/hoo2/auth/vmodem/Transaction.class b/bin/net/hoo2/auth/vmodem/Transaction.class new file mode 100755 index 0000000..2d28af1 Binary files /dev/null and b/bin/net/hoo2/auth/vmodem/Transaction.class differ diff --git a/bin/net/hoo2/auth/vmodem/VirtualModem.class b/bin/net/hoo2/auth/vmodem/VirtualModem.class new file mode 100755 index 0000000..a670795 Binary files /dev/null and b/bin/net/hoo2/auth/vmodem/VirtualModem.class differ diff --git a/echo.log b/echo.log new file mode 100755 index 0000000..83a60b8 --- /dev/null +++ b/echo.log @@ -0,0 +1,483 @@ +Running echo with: E0155 +E0155: PSTART 27-11-2018 01:01:10 01 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:10 02 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:10 03 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:10 04 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:11 05 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:11 06 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:11 07 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:11 08 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:11 09 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:11 10 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:11 11 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:11 12 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:12 13 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:12 14 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:12 15 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:01:12 16 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:12 17 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:12 18 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:12 19 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:12 20 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:13 21 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:13 22 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:13 23 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:01:13 24 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:13 25 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:13 26 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:13 27 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:13 28 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:14 29 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:14 30 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:14 31 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:14 32 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:14 33 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:01:14 34 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:14 35 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:15 36 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:15 37 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:15 38 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:15 39 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:15 40 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:15 41 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:15 42 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:15 43 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:16 44 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:16 45 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:16 46 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:16 47 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:16 48 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:16 49 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:16 50 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:16 51 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:17 52 PSTOP Resp.time= 140 [msec] +E0155: PSTART 27-11-2018 01:01:17 53 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:17 54 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:17 55 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:17 56 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:17 57 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:17 58 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:17 59 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:18 60 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:18 61 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:18 62 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:18 63 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:18 64 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:01:18 65 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:18 66 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:18 67 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:19 68 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:19 69 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:19 70 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:19 71 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:19 72 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:19 73 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:19 74 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:19 75 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:20 76 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:20 77 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:20 78 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:20 79 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:20 80 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:20 81 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:20 82 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:20 83 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:21 84 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:21 85 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:21 86 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:21 87 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:21 88 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:21 89 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:21 90 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:21 91 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:22 92 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:22 93 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:22 94 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:22 95 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:22 96 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:22 97 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:22 98 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:22 99 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:23 00 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:23 01 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:23 02 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:23 03 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:23 04 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:23 05 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:23 06 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:23 07 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:24 08 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:24 09 PSTOP Resp.time= 162 [msec] +E0155: PSTART 27-11-2018 01:01:24 10 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:24 11 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:24 12 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:24 13 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:24 14 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:24 15 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:25 16 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:25 17 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:25 18 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:25 19 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:25 20 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:25 21 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:25 22 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:25 23 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:26 24 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:26 25 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:26 26 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:26 27 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:26 28 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:26 29 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:26 30 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:27 31 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:27 32 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:27 33 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:27 34 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:27 35 PSTOP Resp.time= 122 [msec] +E0155: PSTART 27-11-2018 01:01:27 36 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:27 37 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:27 38 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:27 39 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:28 40 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:28 41 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:28 42 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:28 43 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:28 44 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:28 45 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:28 46 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:28 47 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:29 48 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:29 49 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:29 50 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:29 51 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:29 52 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:29 53 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:29 54 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:29 55 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:30 56 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:30 57 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:01:30 58 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:30 59 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:30 60 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:30 61 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:30 62 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:30 63 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:31 64 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:31 65 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:31 66 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:31 67 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:31 68 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:31 69 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:31 70 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:31 71 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:32 72 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:32 73 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:32 74 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:32 75 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:32 76 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:32 77 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:32 78 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:32 79 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:32 80 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:33 81 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:33 82 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:33 83 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:33 84 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:01:33 85 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:33 86 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:33 87 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:33 88 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:34 89 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:34 90 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:34 91 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:34 92 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:34 93 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:34 94 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:34 95 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:34 96 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:35 97 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:35 98 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:35 99 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:35 00 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:35 01 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:35 02 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:35 03 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:35 04 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:36 05 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:36 06 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:36 07 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:36 08 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:36 09 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:36 10 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:36 11 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:36 12 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:37 13 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:37 14 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:37 15 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:37 16 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:37 17 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:37 18 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:37 19 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:37 20 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:38 21 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:38 22 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:38 23 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:38 24 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:38 25 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:38 26 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:38 27 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:38 28 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:39 29 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:39 30 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:39 31 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:39 32 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:39 33 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:39 34 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:39 35 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:01:39 36 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:40 37 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:40 38 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:40 39 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:40 40 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:40 41 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:40 42 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:40 43 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:01:40 44 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:41 45 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:41 46 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:41 47 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:41 48 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:41 49 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:41 50 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:41 51 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:41 52 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:42 53 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:42 54 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:42 55 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:42 56 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:42 57 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:42 58 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:42 59 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:42 60 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:43 61 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:43 62 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:43 63 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:43 64 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:43 65 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:43 66 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:43 67 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:43 68 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:44 69 PSTOP Resp.time= 142 [msec] +E0155: PSTART 27-11-2018 01:01:44 70 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:44 71 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:44 72 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:44 73 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:44 74 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:44 75 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:44 76 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:45 77 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:45 78 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:45 79 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:45 80 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:45 81 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:45 82 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:45 83 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:45 84 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:46 85 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:46 86 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:46 87 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:46 88 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:46 89 PSTOP Resp.time= 130 [msec] +E0155: PSTART 27-11-2018 01:01:46 90 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:46 91 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:46 92 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:47 93 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:01:47 94 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:47 95 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:47 96 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:47 97 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:47 98 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:47 99 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:47 00 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:47 01 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:48 02 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:48 03 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:48 04 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:48 05 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:48 06 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:48 07 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:48 08 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:48 09 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:49 10 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:49 11 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:01:49 12 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:49 13 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:49 14 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:49 15 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:49 16 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:49 17 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:50 18 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:50 19 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:50 20 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:01:50 21 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:50 22 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:50 23 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:50 24 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:50 25 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:50 26 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:51 27 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:51 28 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:51 29 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:51 30 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:51 31 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:51 32 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:51 33 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:51 34 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:52 35 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:52 36 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:52 37 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:52 38 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:52 39 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:52 40 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:52 41 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:52 42 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:53 43 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:53 44 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:53 45 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:53 46 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:53 47 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:53 48 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:53 49 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:53 50 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:54 51 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:54 52 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:54 53 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:54 54 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:54 55 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:54 56 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:54 57 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:54 58 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:55 59 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:55 60 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:55 61 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:55 62 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:55 63 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:55 64 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:55 65 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:55 66 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:56 67 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:56 68 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:01:56 69 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:56 70 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:56 71 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:56 72 PSTOP Resp.time= 114 [msec] +E0155: PSTART 27-11-2018 01:01:56 73 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:56 74 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:57 75 PSTOP Resp.time= 140 [msec] +E0155: PSTART 27-11-2018 01:01:57 76 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:57 77 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:57 78 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:57 79 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:57 80 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:01:57 81 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:57 82 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:58 83 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:58 84 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:58 85 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:58 86 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:58 87 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:58 88 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:58 89 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:58 90 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:59 91 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:59 92 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:59 93 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:59 94 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:01:59 95 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:59 96 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:01:59 97 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:01:59 98 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:02:00 99 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:00 00 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:00 01 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:00 02 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:00 03 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:00 04 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:00 05 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:00 06 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:02:01 07 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:01 08 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:01 09 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:01 10 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:01 11 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:01 12 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:01 13 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:01 14 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:02 15 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:02:02 16 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:02 17 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:02 18 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:02 19 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:02 20 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:02 21 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:02 22 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:03 23 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:03 24 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:02:03 25 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:03 26 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:03 27 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:03 28 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:03 29 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:03 30 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:02:04 31 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:04 32 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:02:04 33 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:04 34 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:04 35 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:04 36 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:04 37 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:04 38 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:05 39 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:05 40 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:02:05 41 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:05 42 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:05 43 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:02:05 44 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:05 45 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:02:05 46 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:06 47 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:06 48 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:06 49 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:02:06 50 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:06 51 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:06 52 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:06 53 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:06 54 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:07 55 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:07 56 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:07 57 PSTOP Resp.time= 121 [msec] +E0155: PSTART 27-11-2018 01:02:07 58 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:07 59 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:07 60 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:07 61 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:07 62 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:08 63 PSTOP Resp.time= 111 [msec] +E0155: PSTART 27-11-2018 01:02:08 64 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:08 65 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:02:08 66 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:08 67 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:08 68 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:08 69 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:08 70 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:09 71 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:09 72 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:09 73 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:02:09 74 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:09 75 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:09 76 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:09 77 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:09 78 PSTOP Resp.time= 120 [msec] +E0155: PSTART 27-11-2018 01:02:10 79 PSTOP Resp.time= 112 [msec] +E0155: PSTART 27-11-2018 01:02:10 80 PSTOP Resp.time= 110 [msec] +E0155: PSTART 27-11-2018 01:02:10 81 PSTOP Resp.time= 113 [msec] +E0155: PSTART 27-11-2018 01:02:10 82 PSTOP Resp.time= 120 [msec] diff --git a/ithakimodem/Modem$terminal.class b/ithakimodem/Modem$terminal.class new file mode 100755 index 0000000..62670c9 Binary files /dev/null and b/ithakimodem/Modem$terminal.class differ diff --git a/ithakimodem/Modem.class b/ithakimodem/Modem.class new file mode 100755 index 0000000..7334ce2 Binary files /dev/null and b/ithakimodem/Modem.class differ diff --git a/libs/commons-cli-1.4/CONTRIBUTING.md b/libs/commons-cli-1.4/CONTRIBUTING.md new file mode 100755 index 0000000..9d05cf6 --- /dev/null +++ b/libs/commons-cli-1.4/CONTRIBUTING.md @@ -0,0 +1,97 @@ + + +Contributing to Apache Commons CLI +====================== + +You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to +the open source community. Before you dig right into the code there are a few guidelines that we need contributors to +follow so that we can have a chance of keeping on top of things. + +Getting Started +--------------- + ++ Make sure you have a [JIRA account](https://issues.apache.org/jira/). ++ Make sure you have a [GitHub account](https://github.com/signup/free). ++ If you're planning to implement a new feature it makes sense to discuss you're changes on the [dev list](https://commons.apache.org/mail-lists.html) first. This way you can make sure you're not wasting your time on something that isn't considered to be in Apache Commons CLI's scope. ++ Submit a ticket for your issue, assuming one does not already exist. + + Clearly describe the issue including steps to reproduce when it is a bug. + + Make sure you fill in the earliest version that you know has the issue. ++ Fork the repository on GitHub. + +Making Changes +-------------- + ++ Create a topic branch from where you want to base your work (this is usually the master/trunk branch). ++ Make commits of logical units. ++ Respect the original code style: + + Only use spaces for indentation. + + Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change. + + Check for unnecessary whitespace with git diff --check before committing. ++ Make sure your commit messages are in the proper format. Your commit message should contain the key of the JIRA issue. ++ Make sure you have added the necessary tests for your changes. ++ Run all the tests with `mvn clean verify` to assure nothing else was accidentally broken. + +Making Trivial Changes +---------------------- + +For changes of a trivial nature to comments and documentation, it is not always necessary to create a new ticket in JIRA. +In this case, it is appropriate to start the first line of a commit with '(doc)' instead of a ticket number. + +Submitting Changes +------------------ + ++ Sign the [Contributor License Agreement][cla] if you haven't already. ++ Push your changes to a topic branch in your fork of the repository. ++ Submit a pull request to the repository in the apache organization. ++ Update your JIRA ticket and include a link to the pull request in the ticket. + +Additional Resources +-------------------- + ++ [Contributing patches](https://commons.apache.org/patches.html) ++ [Apache Commons CLI JIRA project page](https://issues.apache.org/jira/browse/CLI) ++ [Contributor License Agreement][cla] ++ [General GitHub documentation](https://help.github.com/) ++ [GitHub pull request documentation](https://help.github.com/send-pull-requests/) ++ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons) ++ #apachecommons IRC channel on freenode.org + +[cla]:https://www.apache.org/licenses/#clas diff --git a/libs/commons-cli-1.4/LICENSE.txt b/libs/commons-cli-1.4/LICENSE.txt new file mode 100755 index 0000000..57bc88a --- /dev/null +++ b/libs/commons-cli-1.4/LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + diff --git a/libs/commons-cli-1.4/NOTICE.txt b/libs/commons-cli-1.4/NOTICE.txt new file mode 100755 index 0000000..02e26d0 --- /dev/null +++ b/libs/commons-cli-1.4/NOTICE.txt @@ -0,0 +1,5 @@ +Apache Commons CLI +Copyright 2001-2017 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). diff --git a/libs/commons-cli-1.4/README.md b/libs/commons-cli-1.4/README.md new file mode 100755 index 0000000..671172a --- /dev/null +++ b/libs/commons-cli-1.4/README.md @@ -0,0 +1,98 @@ + + +Apache Commons CLI +=================== + +Apache Commons CLI provides a simple API for presenting, processing and validating a command line interface. + +Documentation +------------- + +More information can be found on the [homepage](https://commons.apache.org/proper/commons-cli). +The [JavaDoc](https://commons.apache.org/proper/commons-cli/javadocs/api-release) can be browsed. +Questions related to the usage of Apache Commons CLI should be posted to the [user mailing list][ml]. + +Where can I get the latest release? +----------------------------------- +You can download source and binaries from our [download page](https://commons.apache.org/proper/commons-cli/download_cli.cgi). + +Alternatively you can pull it from the central Maven repositories: + +```xml + + commons-cli + commons-cli + 1.3.1 + +``` + +Contributing +------------ + +We accept PRs via github. The [developer mailing list][ml] is the main channel of communication for contributors. +There are some guidelines which will make applying PRs easier for us: ++ No tabs! Please use spaces for indentation. ++ Respect the code style. ++ Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change. ++ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running ```mvn clean test```. + +If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas). +You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md). + +License +------- +Code is under the [Apache Licence v2](https://www.apache.org/licenses/LICENSE-2.0.txt). + +Donations +--------- +You like Apache Commons CLI? Then [donate back to the ASF](https://www.apache.org/foundation/contributing.html) to support the development. + +Additional Resources +-------------------- + ++ [Apache Commons Homepage](https://commons.apache.org/) ++ [Apache Bugtracker (JIRA)](https://issues.apache.org/jira/) ++ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons) ++ #apachecommons IRC channel on freenode.org + +[ml]:https://commons.apache.org/mail-lists.html diff --git a/libs/commons-cli-1.4/RELEASE-NOTES.txt b/libs/commons-cli-1.4/RELEASE-NOTES.txt new file mode 100755 index 0000000..c77e73b --- /dev/null +++ b/libs/commons-cli-1.4/RELEASE-NOTES.txt @@ -0,0 +1,251 @@ + Apache Commons CLI + Version 1.4 + Release Notes + + +INTRODUCTION: + +This document contains the release notes for this version of the Commons CLI +package. Commons CLI provides a simple API for working with the command line +arguments and options. + +Commons CLI 1.4 is a feature release and binary compatible with the +previous versions, except for the OptionValidator class that is no longer public +(change introduced in v1.2). Commons CLI 1.4 at least requires Java 5.0. + +More information can be found on the project site at +http://commons.apache.org/cli. + + +NEW FEATURES +============ + +o CLI-269: Introduce CommandLine.Builder +o CLI-267: Add an addRequiredOption method to Options. + Thanks to Ricardo Ribeiro. + + +BUG FIXES +========= + +o CLI-265: Optional argument picking up next regular option as its argument. + Thanks to Martin Sandiford. +o CLI-266: HelpFormatter.setOptionComparator(null) doesn't display the values + in inserted order. Thanks to Ravi Teja. + + + Release Notes for version 1.3.1 + +BUG FIXES +========= + +o CLI-252: LongOpt falsely detected as ambiguous. Thanks to Simon Harrer. + + + Release Notes for version 1.3 + +NOTES +===== + +A new parser is available: DefaultParser. It combines the features of the +GnuParser and the PosixParser. It also provides additional features like +partial matching for the long options, and long options without +separator (i.e like the JVM memory settings: -Xmx512m). This new parser +deprecates the previous ones. + +DEPRECATIONS +============ + +o org.apache.commons.cli.BasicParser + replaced by org.apache.commons.cli.DefaultParser + +o org.apache.commons.cli.GnuParser + replaced by org.apache.commons.cli.DefaultParser + +o org.apache.commons.cli.OptionBuilder + replaced by org.apache.commons.cli.Option.builder() + org.apache.commons.cli.Option.builder(String) + org.apache.commons.cli.Option.Builder + +o org.apache.commons.cli.Parser + replaced by org.apache.commons.cli.DefaultParser + +o org.apache.commons.cli.PosixParser + replaced by org.apache.commons.cli.DefaultParser + + +NEW FEATURES +============ + +o CLI-161: PosixParser doesn't stop the parsing on "--" tokens following an + option with an argument +o CLI-167: Support options like Java memory settings (-Xmx512M) +o CLI-181: Unified Parser +o CLI-224: Added new fluent API to create Option instances via builder class + Option.Builder. This replaces the now deprecated OptionBuilder. + Thanks to Duncan Jones, Brian Blount. +o CLI-160: PosixParser now supports partial long options (--ver instead of + --version). +o CLI-169: HelpFormatter now supports setting the displayed separator of long + options. Thanks to J. Lewis Muir. +o CLI-214: Added new method Options.addOption(String, String). Thanks to + Alexandru Mocanu. + + +BUG FIXES +========= + +o CLI-248: Dead links on doc page. +o CLI-234: Fixed code example in javadoc of + "Option#Builder#valueSeparator(char)". Thanks to Greg Thomas. +o CLI-241: Clarified behavior of "OptionValidator#validateOption(String)" + in case of null input. Thanks to Beluga Behr. +o CLI-202: Default options will now work correctly with required options that + are missing. +o CLI-203: Default options will now work correctly together with option groups. +o CLI-205: HelpFormatter.setArgName(String) now correctly sets the argument + name. +o CLI-204: Passing default values for not defined options to a parser will now + trigger a ParseException instead of a NullPointerException. +o CLI-201: Default properties provided as input to the Parser.parse() methods + are now correctly processed. +o CLI-215: CommandLine.getParsedOptionValue() now returns a String object if no + option type has been explicitly set. Thanks to Manuel Müller. +o CLI-212: HelpFormatter now prints command-line options in the same order as + they have been added. Thanks to Per Cederberg. +o CLI-186: Standard help text now shows mandatory arguments also for the first + option. Thanks to Kristoff Kiefer. +o CLI-207: HelpFormatter does not strip anymore leading whitespace in the + footer text. Thanks to Uri Moszkowicz. +o CLI-185: Strip quotes contained in argument values only if there is exactly + one at the beginning and one at the end. Thanks to + Einar M. R. Rosenvinge. +o CLI-184: Negative numerical arguments take precedence over numerical options. +o CLI-193: Fix possible StringIndexOutOfBoundsException in HelpFormatter. + Thanks to Travis McLeskey. +o CLI-183: OptionGroups no longer throw an AlreadySelectedException when reused + for several parsings. +o CLI-182: OptionGroup now selects properly an option with no short name. + + +CHANGES +======= + +o CLI-240: Small cleanup of Option class. Thanks to Beluga Behr. +o CLI-230: Options.getRequiredOptions() now returns an unmodifiable list. +o CLI-218: Clarify javadoc for CommandLine.getOptionValue() that the first + specified argument will be returned. Thanks to Sven. +o CLI-227: Changed unit tests to junit 4 annotation style. Thanks to + Duncan Jones. +o CLI-209: The javadoc of OptionBuilder now states that the class is not + thread-safe. Thanks to Thomas Herre. +o CLI-200: Fixed typo in javadoc of class CommandLine. Thanks to + Gerard Weatherby. +o CLI-223: Source code now uses generic types instead of raw types where + possible. Thanks to Gerard Weatherby. +o CLI-220 Corrected javadoc for return type of + MissingOptionException.getMissingOptions(). Thanks to Joe Casadonte. +o CLI-197: Improve description of parameter "stopAtNonOption" in method + CommandLine.parse(Options, String[], boolean). Thanks to + Anders Larsson. +o CLI-231: Removed DoubleCheckedLocking test from checkstyle configuration. + Thanks to Duncan Jones. + + + Release Notes for version 1.2 + +NEW FEATURES +============ + +o -- : The method getOptionProperties() in the CommandLine class was added + to retrieve easily the key/value pairs specified with options like + -Dkey1=value1 -Dkey2=value2. +o CLI-157: GnuParser now supports long options with an '=' sign + (ie. --foo=bar and -foo=bar) +o CLI-155: The ordering of options can be defined in help messages. + + +BUG FIXES +========= + +o CLI-137: The number of arguments defined for an option specifies the + arguments per occurence of the option and not for all occurences. +o CLI-164: PosixParser no longer ignores unrecognized short options. +o CLI-163: PosixParser no longer stops the bursting process of a token if + stopAtNonOption is enabled and a non option character is + encountered. +o CLI-165: PosixParser no longer keeps processing the tokens after an + unrecognized long option when stopAtNonOption is enabled. +o CLI-156: Required options are properly checked if an Options instance is used + twice to parse a command line. +o CLI-151: The line wrapping in HelpFormatter now works properly. + + +CHANGES +======= + +o CLI-149: The message of MissingOptionException has been improved. +o CLI-86: The exceptions have been enhanced with methods to retrieve easily + the related options. +o CLI-141: Option.toString() now reports arguments properly. +o CLI-142: The Parser class has been changed to be more easily extendable. +o CLI-140: The following classes are now serializable: Option, OptionGroup, + CommandLine and Options. +o -- : OptionValidator is no longer public, its methods were all private. + + + Release Notes for version 1.1 + +NEW FEATURES +============ + +o CLI-78: Setting description of a Option. + +CHANGES +======= + +o CLI-2: Wrong usage summary. +o CLI-5: Dependecy on commons-lang-2.0 but commons-lang-1.0 is obtained. +o CLI-8: Line separator as first char for helpformatter (footer) throws + exception. +o CLI-13: CommandLine.getOptionValue() behaves contrary to docs. +o CLI-21: clone method in Option should use super.clone(). +o CLI-23: Passing properties in Parser does not work for options with a single + argument. +o CLI-26: Only long options without short option seems to be noticed. +o CLI-28: Infinite Loop in Command-Line processing. +o CLI-29: Options should not be able to be added more than once. +o CLI-35: HelpFormatter doesn't sort options properly. +o CLI-38: HelpFormatter doesn't function correctly for options with only + LongOpt. +o CLI-44: Document enhancement. +o CLI-45: Documentation errors. +o CLI-51: Parameter value "-something" misinterpreted as a parameter. +o CLI-56: clone() method doesn't fully clone contents. +o CLI-59: No Javadoc for HelpFormatter!. +o CLI-65: Parser breaks up command line parms into single characters. +o CLI-67: Missing arguments in HelpFormatter.renderOptions(..). +o CLI-69: Error parsing option arguments. +o CLI-71: A weakness of parser. +o CLI-129: CLI_1_BRANCH build.xml doesn't work. +o CLI-130: Remove the Commons Lang dependency. +o CLI-131: Options class returns options in random order. +o CLI-132: MissingOptionException should contain a useful error message. +o CLI-133: NullPointerException in Util.stripLeadingHyphens when passed a null + argument. +o CLI-134: 1.1 is not backwards compatible because it adds methods to the + CommandLineParser interface. +o CLI-135: Backwards compatibility between 1.1 and 1.0 broken due to + Option.addValue removal. + + +Historical list of changes: http://commons.apache.org/cli/changes-report.html + +For complete information on Commons CLI, including instructions on how to +submit bug reports, patches, or suggestions for improvement, see the +Apache Commons CLI website: + +http://commons.apache.org/cli/ + +Have fun! +-Apache Commons CLI team diff --git a/libs/commons-cli-1.4/apidocs/allclasses-frame.html b/libs/commons-cli-1.4/apidocs/allclasses-frame.html new file mode 100755 index 0000000..0fafb9c --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/allclasses-frame.html @@ -0,0 +1,40 @@ + + + + + + +All Classes (Apache Commons CLI 1.4 API) + + + + +

All Classes

+
+ +
+ + diff --git a/libs/commons-cli-1.4/apidocs/allclasses-noframe.html b/libs/commons-cli-1.4/apidocs/allclasses-noframe.html new file mode 100755 index 0000000..1809f47 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/allclasses-noframe.html @@ -0,0 +1,40 @@ + + + + + + +All Classes (Apache Commons CLI 1.4 API) + + + + +

All Classes

+
+ +
+ + diff --git a/libs/commons-cli-1.4/apidocs/constant-values.html b/libs/commons-cli-1.4/apidocs/constant-values.html new file mode 100755 index 0000000..5b0543f --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/constant-values.html @@ -0,0 +1,227 @@ + + + + + + +Constant Field Values (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+ +
+
+ + +

org.apache.*

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/deprecated-list.html b/libs/commons-cli-1.4/apidocs/deprecated-list.html new file mode 100755 index 0000000..c0d05b1 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/deprecated-list.html @@ -0,0 +1,265 @@ + + + + + + +Deprecated List (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+
+ + + + + + + + + + + +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/help-doc.html b/libs/commons-cli-1.4/apidocs/help-doc.html new file mode 100755 index 0000000..c6a073c --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/help-doc.html @@ -0,0 +1,224 @@ + + + + + + +API Help (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/index-all.html b/libs/commons-cli-1.4/apidocs/index-all.html new file mode 100755 index 0000000..1ace2d2 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/index-all.html @@ -0,0 +1,1448 @@ + + + + + + +Index (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I L M N O P R S T U V W  + + +

A

+
+
addArg(String) - Method in class org.apache.commons.cli.CommandLine
+
+
Add left-over unrecognized option/argument.
+
+
addArg(String) - Method in class org.apache.commons.cli.CommandLine.Builder
+
+
Add left-over unrecognized option/argument.
+
+
addOption(Option) - Method in class org.apache.commons.cli.CommandLine
+
+
Add an option to the command line.
+
+
addOption(Option) - Method in class org.apache.commons.cli.CommandLine.Builder
+
+
Add an option to the command line.
+
+
addOption(Option) - Method in class org.apache.commons.cli.OptionGroup
+
+
Add the specified Option to this group.
+
+
addOption(String, String) - Method in class org.apache.commons.cli.Options
+
+
Add an option that only contains a short name.
+
+
addOption(String, boolean, String) - Method in class org.apache.commons.cli.Options
+
+
Add an option that only contains a short-name.
+
+
addOption(String, String, boolean, String) - Method in class org.apache.commons.cli.Options
+
+
Add an option that contains a short-name and a long-name.
+
+
addOption(Option) - Method in class org.apache.commons.cli.Options
+
+
Adds an option instance
+
+
addOptionGroup(OptionGroup) - Method in class org.apache.commons.cli.Options
+
+
Add the specified option group.
+
+
addRequiredOption(String, String, boolean, String) - Method in class org.apache.commons.cli.Options
+
+
Add an option that contains a short-name and a long-name.
+
+
addValue(String) - Method in class org.apache.commons.cli.Option
+
+
Deprecated. 
+
+
AlreadySelectedException - Exception in org.apache.commons.cli
+
+
Thrown when more than one option in an option group + has been provided.
+
+
AlreadySelectedException(String) - Constructor for exception org.apache.commons.cli.AlreadySelectedException
+
+
Construct a new AlreadySelectedException + with the specified detail message.
+
+
AlreadySelectedException(OptionGroup, Option) - Constructor for exception org.apache.commons.cli.AlreadySelectedException
+
+
Construct a new AlreadySelectedException + for the specified option group.
+
+
AmbiguousOptionException - Exception in org.apache.commons.cli
+
+
Exception thrown when an option can't be identified from a partial name.
+
+
AmbiguousOptionException(String, Collection<String>) - Constructor for exception org.apache.commons.cli.AmbiguousOptionException
+
+
Constructs a new AmbiguousOptionException.
+
+
argName(String) - Method in class org.apache.commons.cli.Option.Builder
+
+
Sets the display name for the argument value.
+
+
+ + + +

B

+
+
BasicParser - Class in org.apache.commons.cli
+
+
Deprecated. +
since 1.3, use the DefaultParser instead
+
+
+
BasicParser() - Constructor for class org.apache.commons.cli.BasicParser
+
+
Deprecated.
+
build() - Method in class org.apache.commons.cli.CommandLine.Builder
+
 
+
build() - Method in class org.apache.commons.cli.Option.Builder
+
+
Constructs an Option with the values declared by this Option.Builder.
+
+
Builder() - Constructor for class org.apache.commons.cli.CommandLine.Builder
+
 
+
builder() - Static method in class org.apache.commons.cli.Option
+
+
Returns a Option.Builder to create an Option using descriptive + methods.
+
+
builder(String) - Static method in class org.apache.commons.cli.Option
+
+
Returns a Option.Builder to create an Option using descriptive + methods.
+
+
burstToken(String, boolean) - Method in class org.apache.commons.cli.PosixParser
+
+
Deprecated.
+
Breaks token into its constituent parts + using the following algorithm.
+
+
+ + + +

C

+
+
checkRequiredOptions() - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
Throws a MissingOptionException if all of the required options + are not present.
+
+
CLASS_VALUE - Static variable in class org.apache.commons.cli.PatternOptionBuilder
+
+
Class class
+
+
clone() - Method in class org.apache.commons.cli.Option
+
+
A rather odd clone method - due to incorrect code in 1.0 it is public + and in 1.1 rather than throwing a CloneNotSupportedException it throws + a RuntimeException so as to maintain backwards compat at the API level.
+
+
cmd - Variable in class org.apache.commons.cli.DefaultParser
+
+
The command-line instance.
+
+
cmd - Variable in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
commandline instance
+
+
CommandLine - Class in org.apache.commons.cli
+
+
Represents list of arguments parsed against a Options descriptor.
+
+
CommandLine() - Constructor for class org.apache.commons.cli.CommandLine
+
+
Creates a command line.
+
+
CommandLine.Builder - Class in org.apache.commons.cli
+
+
A nested builder class to create CommandLine instance + using descriptive methods.
+
+
CommandLineParser - Interface in org.apache.commons.cli
+
+
A class that implements the CommandLineParser interface + can parse a String array according to the Options specified + and return a CommandLine.
+
+
create(char) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
Create an Option using the current settings and with + the specified Option char.
+
+
create() - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
Create an Option using the current settings
+
+
create(String) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
Create an Option using the current settings and with + the specified Option char.
+
+
createClass(String) - Static method in class org.apache.commons.cli.TypeHandler
+
+
Returns the class whose name is classname.
+
+
createDate(String) - Static method in class org.apache.commons.cli.TypeHandler
+
+
Returns the date represented by str.
+
+
createFile(String) - Static method in class org.apache.commons.cli.TypeHandler
+
+
Returns the File represented by str.
+
+
createFiles(String) - Static method in class org.apache.commons.cli.TypeHandler
+
+
Returns the File[] represented by str.
+
+
createNumber(String) - Static method in class org.apache.commons.cli.TypeHandler
+
+
Create a number from a String.
+
+
createObject(String) - Static method in class org.apache.commons.cli.TypeHandler
+
+
Create an Object from the classname and empty constructor.
+
+
createPadding(int) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Return a String of padding of length len.
+
+
createURL(String) - Static method in class org.apache.commons.cli.TypeHandler
+
+
Returns the URL represented by str.
+
+
createValue(String, Object) - Static method in class org.apache.commons.cli.TypeHandler
+
+
Returns the Object of type obj + with the value of str.
+
+
createValue(String, Class<?>) - Static method in class org.apache.commons.cli.TypeHandler
+
+
Returns the Object of type clazz + with the value of str.
+
+
currentOption - Variable in class org.apache.commons.cli.DefaultParser
+
+
The last option parsed.
+
+
currentToken - Variable in class org.apache.commons.cli.DefaultParser
+
+
The token currently processed.
+
+
+ + + +

D

+
+
DATE_VALUE - Static variable in class org.apache.commons.cli.PatternOptionBuilder
+
+
Date class
+
+
DEFAULT_ARG_NAME - Static variable in class org.apache.commons.cli.HelpFormatter
+
+
default name for an argument
+
+
DEFAULT_DESC_PAD - Static variable in class org.apache.commons.cli.HelpFormatter
+
+
number of space characters to be prefixed to each description line
+
+
DEFAULT_LEFT_PAD - Static variable in class org.apache.commons.cli.HelpFormatter
+
+
default padding to the left of each line
+
+
DEFAULT_LONG_OPT_PREFIX - Static variable in class org.apache.commons.cli.HelpFormatter
+
+
default prefix for long Option
+
+
DEFAULT_LONG_OPT_SEPARATOR - Static variable in class org.apache.commons.cli.HelpFormatter
+
+
default separator displayed between a long Option and its value
+
+
DEFAULT_OPT_PREFIX - Static variable in class org.apache.commons.cli.HelpFormatter
+
+
default prefix for shortOpts
+
+
DEFAULT_SYNTAX_PREFIX - Static variable in class org.apache.commons.cli.HelpFormatter
+
+
the string to display at the beginning of the usage statement
+
+
DEFAULT_WIDTH - Static variable in class org.apache.commons.cli.HelpFormatter
+
+
default number of characters per line
+
+
defaultArgName - Variable in class org.apache.commons.cli.HelpFormatter
+
+
Deprecated. +
Scope will be made private for next major version + - use get/setArgName methods instead.
+
+
+
defaultDescPad - Variable in class org.apache.commons.cli.HelpFormatter
+
+
Deprecated. +
Scope will be made private for next major version + - use get/setDescPadding methods instead.
+
+
+
defaultLeftPad - Variable in class org.apache.commons.cli.HelpFormatter
+
+
Deprecated. +
Scope will be made private for next major version + - use get/setLeftPadding methods instead.
+
+
+
defaultLongOptPrefix - Variable in class org.apache.commons.cli.HelpFormatter
+
+
Deprecated. +
Scope will be made private for next major version + - use get/setLongOptPrefix methods instead.
+
+
+
defaultNewLine - Variable in class org.apache.commons.cli.HelpFormatter
+
+
Deprecated. +
Scope will be made private for next major version + - use get/setNewLine methods instead.
+
+
+
defaultOptPrefix - Variable in class org.apache.commons.cli.HelpFormatter
+
+
Deprecated. +
Scope will be made private for next major version + - use get/setOptPrefix methods instead.
+
+
+
DefaultParser - Class in org.apache.commons.cli
+
+
Default parser.
+
+
DefaultParser() - Constructor for class org.apache.commons.cli.DefaultParser
+
 
+
defaultSyntaxPrefix - Variable in class org.apache.commons.cli.HelpFormatter
+
+
Deprecated. +
Scope will be made private for next major version + - use get/setSyntaxPrefix methods instead.
+
+
+
defaultWidth - Variable in class org.apache.commons.cli.HelpFormatter
+
+
Deprecated. +
Scope will be made private for next major version + - use get/setWidth methods instead.
+
+
+
desc(String) - Method in class org.apache.commons.cli.Option.Builder
+
+
Sets the description for this option.
+
+
+ + + +

E

+
+
equals(Object) - Method in class org.apache.commons.cli.Option
+
 
+
EXISTING_FILE_VALUE - Static variable in class org.apache.commons.cli.PatternOptionBuilder
+
+
FileInputStream class
+
+
expectedOpts - Variable in class org.apache.commons.cli.DefaultParser
+
+
The required options and groups expected to be found when parsing the command line.
+
+
+ + + +

F

+
+
FILE_VALUE - Static variable in class org.apache.commons.cli.PatternOptionBuilder
+
+
File class
+
+
FILES_VALUE - Static variable in class org.apache.commons.cli.PatternOptionBuilder
+
+
File array class
+
+
findWrapPos(String, int, int) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Finds the next text wrap position after startPos for the + text in text with the column width width.
+
+
flatten(Options, String[], boolean) - Method in class org.apache.commons.cli.BasicParser
+
+
Deprecated.
+
A simple implementation of Parser's abstract + flatten method.
+
+
flatten(Options, String[], boolean) - Method in class org.apache.commons.cli.GnuParser
+
+
Deprecated.
+
This flatten method does so using the following rules: + + If an Option exists for the first character of + the arguments entry AND an Option + does not exist for the whole argument then + add the first character as an option to the processed tokens + list e.g.
+
+
flatten(Options, String[], boolean) - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
Subclasses must implement this method to reduce + the arguments that have been passed to the parse method.
+
+
flatten(Options, String[], boolean) - Method in class org.apache.commons.cli.PosixParser
+
+
Deprecated.
+
An implementation of Parser's abstract + flatten method.
+
+
+ + + +

G

+
+
getArgList() - Method in class org.apache.commons.cli.CommandLine
+
+
Retrieve any left-over non-recognized options and arguments
+
+
getArgName() - Method in class org.apache.commons.cli.HelpFormatter
+
+
Returns the 'argName'.
+
+
getArgName() - Method in class org.apache.commons.cli.Option
+
+
Gets the display name for the argument value.
+
+
getArgs() - Method in class org.apache.commons.cli.CommandLine
+
+
Retrieve any left-over non-recognized options and arguments
+
+
getArgs() - Method in class org.apache.commons.cli.Option
+
+
Returns the number of argument values this Option can take.
+
+
getDescPadding() - Method in class org.apache.commons.cli.HelpFormatter
+
+
Returns the 'descPadding'.
+
+
getDescription() - Method in class org.apache.commons.cli.Option
+
+
Retrieve the self-documenting description of this Option
+
+
getId() - Method in class org.apache.commons.cli.Option
+
+
Returns the id of this Option.
+
+
getLeftPadding() - Method in class org.apache.commons.cli.HelpFormatter
+
+
Returns the 'leftPadding'.
+
+
getLongOpt() - Method in class org.apache.commons.cli.Option
+
+
Retrieve the long name of this Option.
+
+
getLongOptPrefix() - Method in class org.apache.commons.cli.HelpFormatter
+
+
Returns the 'longOptPrefix'.
+
+
getLongOptSeparator() - Method in class org.apache.commons.cli.HelpFormatter
+
+
Returns the separator displayed between a long option and its value.
+
+
getMatchingOptions() - Method in exception org.apache.commons.cli.AmbiguousOptionException
+
+
Returns the options matching the partial name.
+
+
getMatchingOptions(String) - Method in class org.apache.commons.cli.Options
+
+
Returns the options with a long name starting with the name specified.
+
+
getMissingOptions() - Method in exception org.apache.commons.cli.MissingOptionException
+
+
Returns the list of options or option groups missing in the command line parsed.
+
+
getNames() - Method in class org.apache.commons.cli.OptionGroup
+
 
+
getNewLine() - Method in class org.apache.commons.cli.HelpFormatter
+
+
Returns the 'newLine'.
+
+
getOpt() - Method in class org.apache.commons.cli.Option
+
+
Retrieve the name of this Option.
+
+
getOption() - Method in exception org.apache.commons.cli.AlreadySelectedException
+
+
Returns the option that was added to the group and triggered the exception.
+
+
getOption() - Method in exception org.apache.commons.cli.MissingArgumentException
+
+
Return the option requiring an argument that wasn't provided + on the command line.
+
+
getOption(String) - Method in class org.apache.commons.cli.Options
+
+
Retrieve the Option matching the long or short name specified.
+
+
getOption() - Method in exception org.apache.commons.cli.UnrecognizedOptionException
+
+
Returns the unrecognized option.
+
+
getOptionComparator() - Method in class org.apache.commons.cli.HelpFormatter
+
+
Comparator used to sort the options when they output in help text.
+
+
getOptionGroup() - Method in exception org.apache.commons.cli.AlreadySelectedException
+
+
Returns the option group where another option has been selected.
+
+
getOptionGroup(Option) - Method in class org.apache.commons.cli.Options
+
+
Returns the OptionGroup the opt belongs to.
+
+
getOptionObject(String) - Method in class org.apache.commons.cli.CommandLine
+
+
Deprecated. +
due to System.err message. Instead use getParsedOptionValue(String)
+
+
+
getOptionObject(char) - Method in class org.apache.commons.cli.CommandLine
+
+
Return the Object type of this Option.
+
+
getOptionProperties(String) - Method in class org.apache.commons.cli.CommandLine
+
+
Retrieve the map of values associated to the option.
+
+
getOptions() - Method in class org.apache.commons.cli.CommandLine
+
+
Returns an array of the processed Options.
+
+
getOptions() - Method in class org.apache.commons.cli.OptionGroup
+
 
+
getOptions() - Method in class org.apache.commons.cli.Options
+
+
Retrieve a read-only list of options in this set
+
+
getOptions() - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
getOptionValue(String) - Method in class org.apache.commons.cli.CommandLine
+
+
Retrieve the first argument, if any, of this option.
+
+
getOptionValue(char) - Method in class org.apache.commons.cli.CommandLine
+
+
Retrieve the first argument, if any, of this option.
+
+
getOptionValue(String, String) - Method in class org.apache.commons.cli.CommandLine
+
+
Retrieve the first argument, if any, of an option.
+
+
getOptionValue(char, String) - Method in class org.apache.commons.cli.CommandLine
+
+
Retrieve the argument, if any, of an option.
+
+
getOptionValues(String) - Method in class org.apache.commons.cli.CommandLine
+
+
Retrieves the array of values, if any, of an option.
+
+
getOptionValues(char) - Method in class org.apache.commons.cli.CommandLine
+
+
Retrieves the array of values, if any, of an option.
+
+
getOptPrefix() - Method in class org.apache.commons.cli.HelpFormatter
+
+
Returns the 'optPrefix'.
+
+
getParsedOptionValue(String) - Method in class org.apache.commons.cli.CommandLine
+
+
Return a version of this Option converted to a particular type.
+
+
getRequiredOptions() - Method in class org.apache.commons.cli.Options
+
+
Returns the required options.
+
+
getRequiredOptions() - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
getSelected() - Method in class org.apache.commons.cli.OptionGroup
+
 
+
getSyntaxPrefix() - Method in class org.apache.commons.cli.HelpFormatter
+
+
Returns the 'syntaxPrefix'.
+
+
getType() - Method in class org.apache.commons.cli.Option
+
+
Retrieve the type of this Option.
+
+
getValue() - Method in class org.apache.commons.cli.Option
+
+
Returns the specified value of this Option or + null if there is no value.
+
+
getValue(int) - Method in class org.apache.commons.cli.Option
+
+
Returns the specified value of this Option or + null if there is no value.
+
+
getValue(String) - Method in class org.apache.commons.cli.Option
+
+
Returns the value/first value of this Option or the + defaultValue if there is no value.
+
+
getValueClass(char) - Static method in class org.apache.commons.cli.PatternOptionBuilder
+
+
Retrieve the class that ch represents.
+
+
getValues() - Method in class org.apache.commons.cli.Option
+
+
Return the values of this Option as a String array + or null if there are no values
+
+
getValueSeparator() - Method in class org.apache.commons.cli.Option
+
+
Returns the value separator character.
+
+
getValuesList() - Method in class org.apache.commons.cli.Option
+
 
+
getWidth() - Method in class org.apache.commons.cli.HelpFormatter
+
+
Returns the 'width'.
+
+
GnuParser - Class in org.apache.commons.cli
+
+
Deprecated. +
since 1.3, use the DefaultParser instead
+
+
+
GnuParser() - Constructor for class org.apache.commons.cli.GnuParser
+
+
Deprecated.
+
+ + + +

H

+
+
handleConcatenatedOptions(String) - Method in class org.apache.commons.cli.DefaultParser
+
+
Breaks token into its constituent parts + using the following algorithm.
+
+
hasArg() - Method in class org.apache.commons.cli.Option.Builder
+
+
Indicates that the Option will require an argument.
+
+
hasArg(boolean) - Method in class org.apache.commons.cli.Option.Builder
+
+
Indicates if the Option has an argument or not.
+
+
hasArg() - Method in class org.apache.commons.cli.Option
+
+
Query to see if this Option requires an argument
+
+
hasArg() - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created will require an argument value.
+
+
hasArg(boolean) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created will require an argument value if + hasArg is true.
+
+
hasArgName() - Method in class org.apache.commons.cli.Option
+
+
Returns whether the display name for the argument value has been set.
+
+
hasArgs() - Method in class org.apache.commons.cli.Option.Builder
+
+
Indicates that the Option can have unlimited argument values.
+
+
hasArgs() - Method in class org.apache.commons.cli.Option
+
+
Query to see if this Option can take many values.
+
+
hasArgs() - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created can have unlimited argument values.
+
+
hasArgs(int) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created can have num argument values.
+
+
hashCode() - Method in class org.apache.commons.cli.Option
+
 
+
hasLongOpt() - Method in class org.apache.commons.cli.Option
+
+
Query to see if this Option has a long name
+
+
hasLongOption(String) - Method in class org.apache.commons.cli.Options
+
+
Returns whether the named Option is a member of this Options.
+
+
hasOption(String) - Method in class org.apache.commons.cli.CommandLine
+
+
Query to see if an option has been set.
+
+
hasOption(char) - Method in class org.apache.commons.cli.CommandLine
+
+
Query to see if an option has been set.
+
+
hasOption(String) - Method in class org.apache.commons.cli.Options
+
+
Returns whether the named Option is a member of this Options.
+
+
hasOptionalArg() - Method in class org.apache.commons.cli.Option
+
 
+
hasOptionalArg() - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option can have an optional argument.
+
+
hasOptionalArgs() - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option can have an unlimited number of optional arguments.
+
+
hasOptionalArgs(int) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option can have the specified number of optional arguments.
+
+
hasShortOption(String) - Method in class org.apache.commons.cli.Options
+
+
Returns whether the named Option is a member of this Options.
+
+
hasValueSeparator() - Method in class org.apache.commons.cli.Option
+
+
Return whether this Option has specified a value separator.
+
+
HelpFormatter - Class in org.apache.commons.cli
+
+
A formatter of help messages for command line options.
+
+
HelpFormatter() - Constructor for class org.apache.commons.cli.HelpFormatter
+
 
+
+ + + +

I

+
+
isRequired() - Method in class org.apache.commons.cli.Option
+
+
Query to see if this Option is mandatory
+
+
isRequired() - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created will be required.
+
+
isRequired(boolean) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created will be required if required + is true.
+
+
isRequired() - Method in class org.apache.commons.cli.OptionGroup
+
+
Returns whether this option group is required.
+
+
isValueCode(char) - Static method in class org.apache.commons.cli.PatternOptionBuilder
+
+
Returns whether ch is a value code, i.e.
+
+
iterator() - Method in class org.apache.commons.cli.CommandLine
+
+
Returns an iterator over the Option members of CommandLine.
+
+
+ + + +

L

+
+
longOpt(String) - Method in class org.apache.commons.cli.Option.Builder
+
+
Sets the long name of the Option.
+
+
+ + + +

M

+
+
MissingArgumentException - Exception in org.apache.commons.cli
+
+
Thrown when an option requiring an argument + is not provided with an argument.
+
+
MissingArgumentException(String) - Constructor for exception org.apache.commons.cli.MissingArgumentException
+
+
Construct a new MissingArgumentException + with the specified detail message.
+
+
MissingArgumentException(Option) - Constructor for exception org.apache.commons.cli.MissingArgumentException
+
+
Construct a new MissingArgumentException + with the specified detail message.
+
+
MissingOptionException - Exception in org.apache.commons.cli
+
+
Thrown when a required option has not been provided.
+
+
MissingOptionException(String) - Constructor for exception org.apache.commons.cli.MissingOptionException
+
+
Construct a new MissingSelectedException + with the specified detail message.
+
+
MissingOptionException(List) - Constructor for exception org.apache.commons.cli.MissingOptionException
+
+
Constructs a new MissingSelectedException with the + specified list of missing options.
+
+
+ + + +

N

+
+
NUMBER_VALUE - Static variable in class org.apache.commons.cli.PatternOptionBuilder
+
+
Number class
+
+
numberOfArgs(int) - Method in class org.apache.commons.cli.Option.Builder
+
+
Sets the number of argument values the Option can take.
+
+
+ + + +

O

+
+
OBJECT_VALUE - Static variable in class org.apache.commons.cli.PatternOptionBuilder
+
+
Object class
+
+
Option - Class in org.apache.commons.cli
+
+
Describes a single command-line option.
+
+
Option(String, String) - Constructor for class org.apache.commons.cli.Option
+
+
Creates an Option using the specified parameters.
+
+
Option(String, boolean, String) - Constructor for class org.apache.commons.cli.Option
+
+
Creates an Option using the specified parameters.
+
+
Option(String, String, boolean, String) - Constructor for class org.apache.commons.cli.Option
+
+
Creates an Option using the specified parameters.
+
+
Option.Builder - Class in org.apache.commons.cli
+
+
A nested builder class to create Option instances + using descriptive methods.
+
+
optionalArg(boolean) - Method in class org.apache.commons.cli.Option.Builder
+
+
Sets whether the Option can have an optional argument.
+
+
OptionBuilder - Class in org.apache.commons.cli
+
+
Deprecated. +
since 1.3, use Option.builder(String) instead
+
+
+
optionComparator - Variable in class org.apache.commons.cli.HelpFormatter
+
+
Comparator used to sort the options when they output in help text + + Defaults to case-insensitive alphabetical sorting by option key
+
+
OptionGroup - Class in org.apache.commons.cli
+
+
A group of mutually exclusive options.
+
+
OptionGroup() - Constructor for class org.apache.commons.cli.OptionGroup
+
 
+
options - Variable in class org.apache.commons.cli.DefaultParser
+
+
The current options.
+
+
Options - Class in org.apache.commons.cli
+
+
Main entry-point into the library.
+
+
Options() - Constructor for class org.apache.commons.cli.Options
+
 
+
org.apache.commons.cli - package org.apache.commons.cli
+
+
Commons CLI 1.3
+
+
+ + + +

P

+
+
parse(Options, String[]) - Method in interface org.apache.commons.cli.CommandLineParser
+
+
Parse the arguments according to the specified options.
+
+
parse(Options, String[], boolean) - Method in interface org.apache.commons.cli.CommandLineParser
+
+
Parse the arguments according to the specified options.
+
+
parse(Options, String[]) - Method in class org.apache.commons.cli.DefaultParser
+
 
+
parse(Options, String[], Properties) - Method in class org.apache.commons.cli.DefaultParser
+
+
Parse the arguments according to the specified options and properties.
+
+
parse(Options, String[], boolean) - Method in class org.apache.commons.cli.DefaultParser
+
 
+
parse(Options, String[], Properties, boolean) - Method in class org.apache.commons.cli.DefaultParser
+
+
Parse the arguments according to the specified options and properties.
+
+
parse(Options, String[]) - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
Parses the specified arguments based + on the specified Options.
+
+
parse(Options, String[], Properties) - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
Parse the arguments according to the specified options and properties.
+
+
parse(Options, String[], boolean) - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
Parses the specified arguments + based on the specified Options.
+
+
parse(Options, String[], Properties, boolean) - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
Parse the arguments according to the specified options and + properties.
+
+
ParseException - Exception in org.apache.commons.cli
+
+
Base for Exceptions thrown during parsing of a command-line.
+
+
ParseException(String) - Constructor for exception org.apache.commons.cli.ParseException
+
+
Construct a new ParseException + with the specified detail message.
+
+
parsePattern(String) - Static method in class org.apache.commons.cli.PatternOptionBuilder
+
+
Returns the Options instance represented by pattern.
+
+
Parser - Class in org.apache.commons.cli
+
+
Deprecated. +
since 1.3, the two-pass parsing with the flatten method is not enough flexible to handle complex cases
+
+
+
Parser() - Constructor for class org.apache.commons.cli.Parser
+
+
Deprecated.
+
PatternOptionBuilder - Class in org.apache.commons.cli
+
+
Allows Options to be created from a single String.
+
+
PatternOptionBuilder() - Constructor for class org.apache.commons.cli.PatternOptionBuilder
+
 
+
PosixParser - Class in org.apache.commons.cli
+
+
Deprecated. +
since 1.3, use the DefaultParser instead
+
+
+
PosixParser() - Constructor for class org.apache.commons.cli.PosixParser
+
+
Deprecated.
+
printHelp(String, Options) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the help for options with the specified + command line syntax.
+
+
printHelp(String, Options, boolean) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the help for options with the specified + command line syntax.
+
+
printHelp(String, String, Options, String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the help for options with the specified + command line syntax.
+
+
printHelp(String, String, Options, String, boolean) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the help for options with the specified + command line syntax.
+
+
printHelp(int, String, String, Options, String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the help for options with the specified + command line syntax.
+
+
printHelp(int, String, String, Options, String, boolean) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the help for options with the specified + command line syntax.
+
+
printHelp(PrintWriter, int, String, String, Options, int, int, String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the help for options with the specified + command line syntax.
+
+
printHelp(PrintWriter, int, String, String, Options, int, int, String, boolean) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the help for options with the specified + command line syntax.
+
+
printOptions(PrintWriter, int, Options, int, int) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the help for the specified Options to the specified writer, + using the specified width, left padding and description padding.
+
+
printUsage(PrintWriter, int, String, Options) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Prints the usage statement for the specified application.
+
+
printUsage(PrintWriter, int, String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the cmdLineSyntax to the specified writer, using the + specified width.
+
+
printWrapped(PrintWriter, int, String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the specified text to the specified PrintWriter.
+
+
printWrapped(PrintWriter, int, int, String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Print the specified text to the specified PrintWriter.
+
+
processArgs(Option, ListIterator<String>) - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
Process the argument values for the specified Option + opt using the values retrieved from the + specified iterator iter.
+
+
processOption(String, ListIterator<String>) - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
Process the Option specified by arg using the values + retrieved from the specified iterator iter.
+
+
processProperties(Properties) - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
Sets the values of Options using the values in properties.
+
+
+ + + +

R

+
+
renderOptions(StringBuffer, int, Options, int, int) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Render the specified Options and return the rendered Options + in a StringBuffer.
+
+
renderWrappedText(StringBuffer, int, int, String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Render the specified text and return the rendered Options + in a StringBuffer.
+
+
required() - Method in class org.apache.commons.cli.Option.Builder
+
+
Marks this Option as required.
+
+
required(boolean) - Method in class org.apache.commons.cli.Option.Builder
+
+
Sets whether the Option is mandatory.
+
+
rtrim(String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Remove the trailing whitespace from the specified String.
+
+
+ + + +

S

+
+
setArgName(String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Sets the 'argName'.
+
+
setArgName(String) - Method in class org.apache.commons.cli.Option
+
+
Sets the display name for the argument value.
+
+
setArgs(int) - Method in class org.apache.commons.cli.Option
+
+
Sets the number of argument values this Option can take.
+
+
setDescPadding(int) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Sets the 'descPadding'.
+
+
setDescription(String) - Method in class org.apache.commons.cli.Option
+
+
Sets the self-documenting description of this Option
+
+
setLeftPadding(int) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Sets the 'leftPadding'.
+
+
setLongOpt(String) - Method in class org.apache.commons.cli.Option
+
+
Sets the long name of this Option.
+
+
setLongOptPrefix(String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Sets the 'longOptPrefix'.
+
+
setLongOptSeparator(String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Set the separator displayed between a long option and its value.
+
+
setNewLine(String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Sets the 'newLine'.
+
+
setOptionalArg(boolean) - Method in class org.apache.commons.cli.Option
+
+
Sets whether this Option can have an optional argument.
+
+
setOptionComparator(Comparator<Option>) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Set the comparator used to sort the options when they output in help text.
+
+
setOptions(Options) - Method in class org.apache.commons.cli.Parser
+
+
Deprecated.
+
setOptPrefix(String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Sets the 'optPrefix'.
+
+
setRequired(boolean) - Method in class org.apache.commons.cli.Option
+
+
Sets whether this Option is mandatory.
+
+
setRequired(boolean) - Method in class org.apache.commons.cli.OptionGroup
+
 
+
setSelected(Option) - Method in class org.apache.commons.cli.OptionGroup
+
+
Set the selected option of this group to name.
+
+
setSyntaxPrefix(String) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Sets the 'syntaxPrefix'.
+
+
setType(Object) - Method in class org.apache.commons.cli.Option
+
+
Deprecated. +
since 1.3, use Option.setType(Class) instead
+
+
+
setType(Class<?>) - Method in class org.apache.commons.cli.Option
+
+
Sets the type of this Option.
+
+
setValueSeparator(char) - Method in class org.apache.commons.cli.Option
+
+
Sets the value separator.
+
+
setWidth(int) - Method in class org.apache.commons.cli.HelpFormatter
+
+
Sets the 'width'.
+
+
skipParsing - Variable in class org.apache.commons.cli.DefaultParser
+
+
Flag indicating if tokens should no longer be analyzed and simply added as arguments of the command line.
+
+
stopAtNonOption - Variable in class org.apache.commons.cli.DefaultParser
+
+
Flag indicating how unrecognized tokens are handled.
+
+
STRING_VALUE - Static variable in class org.apache.commons.cli.PatternOptionBuilder
+
+
String class
+
+
+ + + +

T

+
+
toString() - Method in class org.apache.commons.cli.Option
+
+
Dump state, suitable for debugging.
+
+
toString() - Method in class org.apache.commons.cli.OptionGroup
+
+
Returns the stringified version of this OptionGroup.
+
+
toString() - Method in class org.apache.commons.cli.Options
+
+
Dump state, suitable for debugging.
+
+
type(Class<?>) - Method in class org.apache.commons.cli.Option.Builder
+
+
Sets the type of the Option.
+
+
TypeHandler - Class in org.apache.commons.cli
+
+
This is a temporary implementation.
+
+
TypeHandler() - Constructor for class org.apache.commons.cli.TypeHandler
+
 
+
+ + + +

U

+
+
UNINITIALIZED - Static variable in class org.apache.commons.cli.Option
+
+
constant that specifies the number of argument values has not been specified
+
+
UNLIMITED_VALUES - Static variable in class org.apache.commons.cli.Option
+
+
constant that specifies the number of argument values is infinite
+
+
UnrecognizedOptionException - Exception in org.apache.commons.cli
+
+
Exception thrown during parsing signalling an unrecognized + option was seen.
+
+
UnrecognizedOptionException(String) - Constructor for exception org.apache.commons.cli.UnrecognizedOptionException
+
+
Construct a new UnrecognizedArgumentException + with the specified detail message.
+
+
UnrecognizedOptionException(String, String) - Constructor for exception org.apache.commons.cli.UnrecognizedOptionException
+
+
Construct a new UnrecognizedArgumentException + with the specified option and detail message.
+
+
URL_VALUE - Static variable in class org.apache.commons.cli.PatternOptionBuilder
+
+
URL class
+
+
+ + + +

V

+
+
valueSeparator() - Method in class org.apache.commons.cli.Option.Builder
+
+
The Option will use '=' as a means to separate argument value.
+
+
valueSeparator(char) - Method in class org.apache.commons.cli.Option.Builder
+
+
The Option will use sep as a means to + separate argument values.
+
+
+ + + +

W

+
+
withArgName(String) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created will have the specified argument value name.
+
+
withDescription(String) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created will have the specified description
+
+
withLongOpt(String) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created will have the following long option value.
+
+
withType(Object) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated. +
since 1.3, use OptionBuilder.withType(Class) instead
+
+
+
withType(Class<?>) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created will have a value that will be an instance + of type.
+
+
withValueSeparator(char) - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created uses sep as a means to + separate argument values.
+
+
withValueSeparator() - Static method in class org.apache.commons.cli.OptionBuilder
+
+
Deprecated.
+
The next Option created uses '=' as a means to + separate argument values.
+
+
+A B C D E F G H I L M N O P R S T U V W 
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/index.html b/libs/commons-cli-1.4/apidocs/index.html new file mode 100755 index 0000000..670ee44 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/index.html @@ -0,0 +1,73 @@ + + + + + + +Apache Commons CLI 1.4 API + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="org/apache/commons/cli/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/AlreadySelectedException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/AlreadySelectedException.html new file mode 100755 index 0000000..14ce329 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/AlreadySelectedException.html @@ -0,0 +1,370 @@ + + + + + + +AlreadySelectedException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class AlreadySelectedException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    public class AlreadySelectedException
    +extends ParseException
    +
    Thrown when more than one option in an option group + has been provided.
    +
    +
    Version:
    +
    $Id: AlreadySelectedException.java 1443102 2013-02-06 18:12:16Z tn $
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AlreadySelectedException

        +
        public AlreadySelectedException(String message)
        +
        Construct a new AlreadySelectedException + with the specified detail message.
        +
        +
        Parameters:
        +
        message - the detail message
        +
        +
      • +
      + + + +
        +
      • +

        AlreadySelectedException

        +
        public AlreadySelectedException(OptionGroup group,
        +                                Option option)
        +
        Construct a new AlreadySelectedException + for the specified option group.
        +
        +
        Parameters:
        +
        group - the option group already selected
        +
        option - the option that triggered the exception
        +
        Since:
        +
        1.2
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getOptionGroup

        +
        public OptionGroup getOptionGroup()
        +
        Returns the option group where another option has been selected.
        +
        +
        Returns:
        +
        the related option group
        +
        Since:
        +
        1.2
        +
        +
      • +
      + + + +
        +
      • +

        getOption

        +
        public Option getOption()
        +
        Returns the option that was added to the group and triggered the exception.
        +
        +
        Returns:
        +
        the related option
        +
        Since:
        +
        1.2
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/AmbiguousOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/AmbiguousOptionException.html new file mode 100755 index 0000000..82f4c02 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/AmbiguousOptionException.html @@ -0,0 +1,334 @@ + + + + + + +AmbiguousOptionException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class AmbiguousOptionException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    public class AmbiguousOptionException
    +extends UnrecognizedOptionException
    +
    Exception thrown when an option can't be identified from a partial name.
    +
    +
    Since:
    +
    1.3
    +
    Version:
    +
    $Id: AmbiguousOptionException.java 1669814 2015-03-28 18:09:26Z britter $
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AmbiguousOptionException

        +
        public AmbiguousOptionException(String option,
        +                                Collection<String> matchingOptions)
        +
        Constructs a new AmbiguousOptionException.
        +
        +
        Parameters:
        +
        option - the partial option name
        +
        matchingOptions - the options matching the name
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getMatchingOptions

        +
        public Collection<String> getMatchingOptions()
        +
        Returns the options matching the partial name.
        +
        +
        Returns:
        +
        a collection of options matching the name
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/BasicParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/BasicParser.html new file mode 100755 index 0000000..785b888 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/BasicParser.html @@ -0,0 +1,339 @@ + + + + + + +BasicParser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class BasicParser

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    CommandLineParser
    +
    +
    +
    Deprecated.  +
    since 1.3, use the DefaultParser instead
    +
    +
    +
    @Deprecated
    +public class BasicParser
    +extends Parser
    +
    The class BasicParser provides a very simple implementation of + the flatten method.
    +
    +
    Version:
    +
    $Id: BasicParser.java 1443102 2013-02-06 18:12:16Z tn $
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BasicParser

        +
        public BasicParser()
        +
        Deprecated. 
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        flatten

        +
        protected String[] flatten(Options options,
        +                           String[] arguments,
        +                           boolean stopAtNonOption)
        +
        Deprecated. 
        +

        A simple implementation of Parser's abstract + flatten method.

        + +

        Note: options and stopAtNonOption + are not used in this flatten method.

        +
        +
        Specified by:
        +
        flatten in class Parser
        +
        Parameters:
        +
        options - The command line Options
        +
        arguments - The command line arguments to be parsed
        +
        stopAtNonOption - Specifies whether to stop flattening + when an non option is found.
        +
        Returns:
        +
        The arguments String array.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.Builder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.Builder.html new file mode 100755 index 0000000..503513a --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.Builder.html @@ -0,0 +1,324 @@ + + + + + + +CommandLine.Builder (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class CommandLine.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    CommandLine
    +
    +
    +
    +
    public static final class CommandLine.Builder
    +extends Object
    +
    A nested builder class to create CommandLine instance + using descriptive methods.
    +
    +
    Since:
    +
    1.4
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Builder

        +
        public Builder()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addOption

        +
        public CommandLine.Builder addOption(Option opt)
        +
        Add an option to the command line. The values of the option are stored.
        +
        +
        Parameters:
        +
        opt - the processed option
        +
        Returns:
        +
        this Builder instance for method chaining.
        +
        +
      • +
      + + + +
        +
      • +

        addArg

        +
        public CommandLine.Builder addArg(String arg)
        +
        Add left-over unrecognized option/argument.
        +
        +
        Parameters:
        +
        arg - the unrecognized option/argument.
        +
        Returns:
        +
        this Builder instance for method chaining.
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.html new file mode 100755 index 0000000..1981b83 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.html @@ -0,0 +1,721 @@ + + + + + + +CommandLine (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class CommandLine

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    public class CommandLine
    +extends Object
    +implements Serializable
    +
    Represents list of arguments parsed against a Options descriptor. +

    + It allows querying of a boolean hasOption(String opt), + in addition to retrieving the getOptionValue(String opt) + for options requiring arguments. +

    + Additionally, any left-over or unrecognized arguments, + are available for further processing.

    +
    +
    Version:
    +
    $Id: CommandLine.java 1786144 2017-03-09 11:34:57Z britter $
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CommandLine

        +
        protected CommandLine()
        +
        Creates a command line.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        hasOption

        +
        public boolean hasOption(String opt)
        +
        Query to see if an option has been set.
        +
        +
        Parameters:
        +
        opt - Short name of the option
        +
        Returns:
        +
        true if set, false if not
        +
        +
      • +
      + + + +
        +
      • +

        hasOption

        +
        public boolean hasOption(char opt)
        +
        Query to see if an option has been set.
        +
        +
        Parameters:
        +
        opt - character name of the option
        +
        Returns:
        +
        true if set, false if not
        +
        +
      • +
      + + + +
        +
      • +

        getOptionObject

        +
        @Deprecated
        +public Object getOptionObject(String opt)
        +
        Deprecated. due to System.err message. Instead use getParsedOptionValue(String)
        +
        Return the Object type of this Option.
        +
        +
        Parameters:
        +
        opt - the name of the option
        +
        Returns:
        +
        the type of this Option
        +
        +
      • +
      + + + +
        +
      • +

        getParsedOptionValue

        +
        public Object getParsedOptionValue(String opt)
        +                            throws ParseException
        +
        Return a version of this Option converted to a particular type.
        +
        +
        Parameters:
        +
        opt - the name of the option
        +
        Returns:
        +
        the value parsed into a particular object
        +
        Throws:
        +
        ParseException - if there are problems turning the option value into the desired type
        +
        Since:
        +
        1.2
        +
        See Also:
        +
        PatternOptionBuilder
        +
        +
      • +
      + + + +
        +
      • +

        getOptionObject

        +
        public Object getOptionObject(char opt)
        +
        Return the Object type of this Option.
        +
        +
        Parameters:
        +
        opt - the name of the option
        +
        Returns:
        +
        the type of opt
        +
        +
      • +
      + + + +
        +
      • +

        getOptionValue

        +
        public String getOptionValue(String opt)
        +
        Retrieve the first argument, if any, of this option.
        +
        +
        Parameters:
        +
        opt - the name of the option
        +
        Returns:
        +
        Value of the argument if option is set, and has an argument, + otherwise null.
        +
        +
      • +
      + + + +
        +
      • +

        getOptionValue

        +
        public String getOptionValue(char opt)
        +
        Retrieve the first argument, if any, of this option.
        +
        +
        Parameters:
        +
        opt - the character name of the option
        +
        Returns:
        +
        Value of the argument if option is set, and has an argument, + otherwise null.
        +
        +
      • +
      + + + +
        +
      • +

        getOptionValues

        +
        public String[] getOptionValues(String opt)
        +
        Retrieves the array of values, if any, of an option.
        +
        +
        Parameters:
        +
        opt - string name of the option
        +
        Returns:
        +
        Values of the argument if option is set, and has an argument, + otherwise null.
        +
        +
      • +
      + + + +
        +
      • +

        getOptionValues

        +
        public String[] getOptionValues(char opt)
        +
        Retrieves the array of values, if any, of an option.
        +
        +
        Parameters:
        +
        opt - character name of the option
        +
        Returns:
        +
        Values of the argument if option is set, and has an argument, + otherwise null.
        +
        +
      • +
      + + + +
        +
      • +

        getOptionValue

        +
        public String getOptionValue(String opt,
        +                             String defaultValue)
        +
        Retrieve the first argument, if any, of an option.
        +
        +
        Parameters:
        +
        opt - name of the option
        +
        defaultValue - is the default value to be returned if the option + is not specified
        +
        Returns:
        +
        Value of the argument if option is set, and has an argument, + otherwise defaultValue.
        +
        +
      • +
      + + + +
        +
      • +

        getOptionValue

        +
        public String getOptionValue(char opt,
        +                             String defaultValue)
        +
        Retrieve the argument, if any, of an option.
        +
        +
        Parameters:
        +
        opt - character name of the option
        +
        defaultValue - is the default value to be returned if the option + is not specified
        +
        Returns:
        +
        Value of the argument if option is set, and has an argument, + otherwise defaultValue.
        +
        +
      • +
      + + + +
        +
      • +

        getOptionProperties

        +
        public Properties getOptionProperties(String opt)
        +
        Retrieve the map of values associated to the option. This is convenient + for options specifying Java properties like -Dparam1=value1 + -Dparam2=value2. The first argument of the option is the key, and + the 2nd argument is the value. If the option has only one argument + (-Dfoo) it is considered as a boolean flag and the value is + "true".
        +
        +
        Parameters:
        +
        opt - name of the option
        +
        Returns:
        +
        The Properties mapped by the option, never null + even if the option doesn't exists
        +
        Since:
        +
        1.2
        +
        +
      • +
      + + + +
        +
      • +

        getArgs

        +
        public String[] getArgs()
        +
        Retrieve any left-over non-recognized options and arguments
        +
        +
        Returns:
        +
        remaining items passed in but not parsed as an array
        +
        +
      • +
      + + + +
        +
      • +

        getArgList

        +
        public List<String> getArgList()
        +
        Retrieve any left-over non-recognized options and arguments
        +
        +
        Returns:
        +
        remaining items passed in but not parsed as a List.
        +
        +
      • +
      + + + +
        +
      • +

        addArg

        +
        protected void addArg(String arg)
        +
        Add left-over unrecognized option/argument.
        +
        +
        Parameters:
        +
        arg - the unrecognized option/argument.
        +
        +
      • +
      + + + +
        +
      • +

        addOption

        +
        protected void addOption(Option opt)
        +
        Add an option to the command line. The values of the option are stored.
        +
        +
        Parameters:
        +
        opt - the processed option
        +
        +
      • +
      + + + +
        +
      • +

        iterator

        +
        public Iterator<Option> iterator()
        +
        Returns an iterator over the Option members of CommandLine.
        +
        +
        Returns:
        +
        an Iterator over the processed Option + members of this CommandLine
        +
        +
      • +
      + + + +
        +
      • +

        getOptions

        +
        public Option[] getOptions()
        +
        Returns an array of the processed Options.
        +
        +
        Returns:
        +
        an array of the processed Options.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLineParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLineParser.html new file mode 100755 index 0000000..c1552db --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLineParser.html @@ -0,0 +1,282 @@ + + + + + + +CommandLineParser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Interface CommandLineParser

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    BasicParser, DefaultParser, GnuParser, Parser, PosixParser
    +
    +
    +
    +
    public interface CommandLineParser
    +
    A class that implements the CommandLineParser interface + can parse a String array according to the Options specified + and return a CommandLine.
    +
    +
    Version:
    +
    $Id: CommandLineParser.java 1443102 2013-02-06 18:12:16Z tn $
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        parse

        +
        CommandLine parse(Options options,
        +                  String[] arguments)
        +           throws ParseException
        +
        Parse the arguments according to the specified options.
        +
        +
        Parameters:
        +
        options - the specified Options
        +
        arguments - the command line arguments
        +
        Returns:
        +
        the list of atomic option and value tokens
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line tokens.
        +
        +
      • +
      + + + +
        +
      • +

        parse

        +
        CommandLine parse(Options options,
        +                  String[] arguments,
        +                  boolean stopAtNonOption)
        +           throws ParseException
        +
        Parse the arguments according to the specified options.
        +
        +
        Parameters:
        +
        options - the specified Options
        +
        arguments - the command line arguments
        +
        stopAtNonOption - if true an unrecognized argument stops + the parsing and the remaining arguments are added to the + CommandLines args list. If false an unrecognized + argument triggers a ParseException.
        +
        Returns:
        +
        the list of atomic option and value tokens
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line tokens.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/DefaultParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/DefaultParser.html new file mode 100755 index 0000000..0610926 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/DefaultParser.html @@ -0,0 +1,591 @@ + + + + + + +DefaultParser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class DefaultParser

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    CommandLineParser
    +
    +
    +
    +
    public class DefaultParser
    +extends Object
    +implements CommandLineParser
    +
    Default parser.
    +
    +
    Since:
    +
    1.3
    +
    Version:
    +
    $Id: DefaultParser.java 1783175 2017-02-16 07:52:05Z britter $
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        cmd

        +
        protected CommandLine cmd
        +
        The command-line instance.
        +
      • +
      + + + +
        +
      • +

        options

        +
        protected Options options
        +
        The current options.
        +
      • +
      + + + +
        +
      • +

        stopAtNonOption

        +
        protected boolean stopAtNonOption
        +
        Flag indicating how unrecognized tokens are handled. true to stop + the parsing and add the remaining tokens to the args list. + false to throw an exception.
        +
      • +
      + + + +
        +
      • +

        currentToken

        +
        protected String currentToken
        +
        The token currently processed.
        +
      • +
      + + + +
        +
      • +

        currentOption

        +
        protected Option currentOption
        +
        The last option parsed.
        +
      • +
      + + + +
        +
      • +

        skipParsing

        +
        protected boolean skipParsing
        +
        Flag indicating if tokens should no longer be analyzed and simply added as arguments of the command line.
        +
      • +
      + + + +
        +
      • +

        expectedOpts

        +
        protected List expectedOpts
        +
        The required options and groups expected to be found when parsing the command line.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DefaultParser

        +
        public DefaultParser()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        parse

        +
        public CommandLine parse(Options options,
        +                         String[] arguments)
        +                  throws ParseException
        +
        Description copied from interface: CommandLineParser
        +
        Parse the arguments according to the specified options.
        +
        +
        Specified by:
        +
        parse in interface CommandLineParser
        +
        Parameters:
        +
        options - the specified Options
        +
        arguments - the command line arguments
        +
        Returns:
        +
        the list of atomic option and value tokens
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line tokens.
        +
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public CommandLine parse(Options options,
        +                         String[] arguments,
        +                         Properties properties)
        +                  throws ParseException
        +
        Parse the arguments according to the specified options and properties.
        +
        +
        Parameters:
        +
        options - the specified Options
        +
        arguments - the command line arguments
        +
        properties - command line option name-value pairs
        +
        Returns:
        +
        the list of atomic option and value tokens
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line tokens.
        +
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public CommandLine parse(Options options,
        +                         String[] arguments,
        +                         boolean stopAtNonOption)
        +                  throws ParseException
        +
        Description copied from interface: CommandLineParser
        +
        Parse the arguments according to the specified options.
        +
        +
        Specified by:
        +
        parse in interface CommandLineParser
        +
        Parameters:
        +
        options - the specified Options
        +
        arguments - the command line arguments
        +
        stopAtNonOption - if true an unrecognized argument stops + the parsing and the remaining arguments are added to the + CommandLines args list. If false an unrecognized + argument triggers a ParseException.
        +
        Returns:
        +
        the list of atomic option and value tokens
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line tokens.
        +
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public CommandLine parse(Options options,
        +                         String[] arguments,
        +                         Properties properties,
        +                         boolean stopAtNonOption)
        +                  throws ParseException
        +
        Parse the arguments according to the specified options and properties.
        +
        +
        Parameters:
        +
        options - the specified Options
        +
        arguments - the command line arguments
        +
        properties - command line option name-value pairs
        +
        stopAtNonOption - if true an unrecognized argument stops + the parsing and the remaining arguments are added to the + CommandLines args list. If false an unrecognized + argument triggers a ParseException.
        +
        Returns:
        +
        the list of atomic option and value tokens
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line tokens.
        +
        +
      • +
      + + + +
        +
      • +

        handleConcatenatedOptions

        +
        protected void handleConcatenatedOptions(String token)
        +                                  throws ParseException
        +
        Breaks token into its constituent parts + using the following algorithm. + +
          +
        • ignore the first character ("-")
        • +
        • for each remaining character check if an Option + exists with that id.
        • +
        • if an Option does exist then add that character + prepended with "-" to the list of processed tokens.
        • +
        • if the Option can have an argument value and there + are remaining characters in the token then add the remaining + characters as a token to the list of processed tokens.
        • +
        • if an Option does NOT exist AND + stopAtNonOption IS set then add the special token + "--" followed by the remaining characters and also + the remaining tokens directly to the processed tokens list.
        • +
        • if an Option does NOT exist AND + stopAtNonOption IS NOT set then add that + character prepended with "-".
        • +
        +
        +
        Parameters:
        +
        token - The current token to be burst + at the first non-Option encountered.
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line token.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/GnuParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/GnuParser.html new file mode 100755 index 0000000..70b6338 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/GnuParser.html @@ -0,0 +1,348 @@ + + + + + + +GnuParser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class GnuParser

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    CommandLineParser
    +
    +
    +
    Deprecated.  +
    since 1.3, use the DefaultParser instead
    +
    +
    +
    @Deprecated
    +public class GnuParser
    +extends Parser
    +
    The class GnuParser provides an implementation of the + flatten method.
    +
    +
    Version:
    +
    $Id: GnuParser.java 1445352 2013-02-12 20:48:19Z tn $
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GnuParser

        +
        public GnuParser()
        +
        Deprecated. 
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        flatten

        +
        protected String[] flatten(Options options,
        +                           String[] arguments,
        +                           boolean stopAtNonOption)
        +
        Deprecated. 
        +
        This flatten method does so using the following rules: +
          +
        1. If an Option exists for the first character of + the arguments entry AND an Option + does not exist for the whole argument then + add the first character as an option to the processed tokens + list e.g. "-D" and add the rest of the entry to the also.
        2. +
        3. Otherwise just add the token to the processed tokens list.
        4. +
        +
        +
        Specified by:
        +
        flatten in class Parser
        +
        Parameters:
        +
        options - The Options to parse the arguments by.
        +
        arguments - The arguments that have to be flattened.
        +
        stopAtNonOption - specifies whether to stop flattening when + a non option has been encountered
        +
        Returns:
        +
        a String array of the flattened arguments
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/HelpFormatter.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/HelpFormatter.html new file mode 100755 index 0000000..2f8b1e2 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/HelpFormatter.html @@ -0,0 +1,1685 @@ + + + + + + +HelpFormatter (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class HelpFormatter

+
+
+ +
+
    +
  • +
    +
    +
    public class HelpFormatter
    +extends Object
    +
    A formatter of help messages for command line options. + +

    Example:

    + +
    + Options options = new Options();
    + options.addOption(OptionBuilder.withLongOpt("file")
    +                                .withDescription("The file to be processed")
    +                                .hasArg()
    +                                .withArgName("FILE")
    +                                .isRequired()
    +                                .create('f'));
    + options.addOption(OptionBuilder.withLongOpt("version")
    +                                .withDescription("Print the version of the application")
    +                                .create('v'));
    + options.addOption(OptionBuilder.withLongOpt("help").create('h'));
    + 
    + String header = "Do something useful with an input file\n\n";
    + String footer = "\nPlease report issues at http://example.com/issues";
    + 
    + HelpFormatter formatter = new HelpFormatter();
    + formatter.printHelp("myapp", header, options, footer, true);
    + 
    + + This produces the following output: + +
    + usage: myapp -f <FILE> [-h] [-v]
    + Do something useful with an input file
    + 
    +  -f,--file <FILE>   The file to be processed
    +  -h,--help
    +  -v,--version       Print the version of the application
    + 
    + Please report issues at http://example.com/issues
    + 
    +
    +
    Version:
    +
    $Id: HelpFormatter.java 1677407 2015-05-03 14:31:12Z britter $
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        DEFAULT_WIDTH

        +
        public static final int DEFAULT_WIDTH
        +
        default number of characters per line
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        DEFAULT_LEFT_PAD

        +
        public static final int DEFAULT_LEFT_PAD
        +
        default padding to the left of each line
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        DEFAULT_DESC_PAD

        +
        public static final int DEFAULT_DESC_PAD
        +
        number of space characters to be prefixed to each description line
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        DEFAULT_SYNTAX_PREFIX

        +
        public static final String DEFAULT_SYNTAX_PREFIX
        +
        the string to display at the beginning of the usage statement
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        DEFAULT_OPT_PREFIX

        +
        public static final String DEFAULT_OPT_PREFIX
        +
        default prefix for shortOpts
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        DEFAULT_LONG_OPT_PREFIX

        +
        public static final String DEFAULT_LONG_OPT_PREFIX
        +
        default prefix for long Option
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        DEFAULT_LONG_OPT_SEPARATOR

        +
        public static final String DEFAULT_LONG_OPT_SEPARATOR
        +
        default separator displayed between a long Option and its value
        +
        +
        Since:
        +
        1.3
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        DEFAULT_ARG_NAME

        +
        public static final String DEFAULT_ARG_NAME
        +
        default name for an argument
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        defaultWidth

        +
        @Deprecated
        +public int defaultWidth
        +
        Deprecated. Scope will be made private for next major version + - use get/setWidth methods instead.
        +
        number of characters per line
        +
      • +
      + + + +
        +
      • +

        defaultLeftPad

        +
        @Deprecated
        +public int defaultLeftPad
        +
        Deprecated. Scope will be made private for next major version + - use get/setLeftPadding methods instead.
        +
        amount of padding to the left of each line
        +
      • +
      + + + +
        +
      • +

        defaultDescPad

        +
        @Deprecated
        +public int defaultDescPad
        +
        Deprecated. Scope will be made private for next major version + - use get/setDescPadding methods instead.
        +
        the number of characters of padding to be prefixed + to each description line
        +
      • +
      + + + +
        +
      • +

        defaultSyntaxPrefix

        +
        @Deprecated
        +public String defaultSyntaxPrefix
        +
        Deprecated. Scope will be made private for next major version + - use get/setSyntaxPrefix methods instead.
        +
        the string to display at the beginning of the usage statement
        +
      • +
      + + + +
        +
      • +

        defaultNewLine

        +
        @Deprecated
        +public String defaultNewLine
        +
        Deprecated. Scope will be made private for next major version + - use get/setNewLine methods instead.
        +
        the new line string
        +
      • +
      + + + +
        +
      • +

        defaultOptPrefix

        +
        @Deprecated
        +public String defaultOptPrefix
        +
        Deprecated. Scope will be made private for next major version + - use get/setOptPrefix methods instead.
        +
        the shortOpt prefix
        +
      • +
      + + + +
        +
      • +

        defaultLongOptPrefix

        +
        @Deprecated
        +public String defaultLongOptPrefix
        +
        Deprecated. Scope will be made private for next major version + - use get/setLongOptPrefix methods instead.
        +
        the long Opt prefix
        +
      • +
      + + + +
        +
      • +

        defaultArgName

        +
        @Deprecated
        +public String defaultArgName
        +
        Deprecated. Scope will be made private for next major version + - use get/setArgName methods instead.
        +
        the name of the argument
        +
      • +
      + + + +
        +
      • +

        optionComparator

        +
        protected Comparator<Option> optionComparator
        +
        Comparator used to sort the options when they output in help text + + Defaults to case-insensitive alphabetical sorting by option key
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HelpFormatter

        +
        public HelpFormatter()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setWidth

        +
        public void setWidth(int width)
        +
        Sets the 'width'.
        +
        +
        Parameters:
        +
        width - the new value of 'width'
        +
        +
      • +
      + + + +
        +
      • +

        getWidth

        +
        public int getWidth()
        +
        Returns the 'width'.
        +
        +
        Returns:
        +
        the 'width'
        +
        +
      • +
      + + + +
        +
      • +

        setLeftPadding

        +
        public void setLeftPadding(int padding)
        +
        Sets the 'leftPadding'.
        +
        +
        Parameters:
        +
        padding - the new value of 'leftPadding'
        +
        +
      • +
      + + + +
        +
      • +

        getLeftPadding

        +
        public int getLeftPadding()
        +
        Returns the 'leftPadding'.
        +
        +
        Returns:
        +
        the 'leftPadding'
        +
        +
      • +
      + + + +
        +
      • +

        setDescPadding

        +
        public void setDescPadding(int padding)
        +
        Sets the 'descPadding'.
        +
        +
        Parameters:
        +
        padding - the new value of 'descPadding'
        +
        +
      • +
      + + + +
        +
      • +

        getDescPadding

        +
        public int getDescPadding()
        +
        Returns the 'descPadding'.
        +
        +
        Returns:
        +
        the 'descPadding'
        +
        +
      • +
      + + + +
        +
      • +

        setSyntaxPrefix

        +
        public void setSyntaxPrefix(String prefix)
        +
        Sets the 'syntaxPrefix'.
        +
        +
        Parameters:
        +
        prefix - the new value of 'syntaxPrefix'
        +
        +
      • +
      + + + +
        +
      • +

        getSyntaxPrefix

        +
        public String getSyntaxPrefix()
        +
        Returns the 'syntaxPrefix'.
        +
        +
        Returns:
        +
        the 'syntaxPrefix'
        +
        +
      • +
      + + + +
        +
      • +

        setNewLine

        +
        public void setNewLine(String newline)
        +
        Sets the 'newLine'.
        +
        +
        Parameters:
        +
        newline - the new value of 'newLine'
        +
        +
      • +
      + + + +
        +
      • +

        getNewLine

        +
        public String getNewLine()
        +
        Returns the 'newLine'.
        +
        +
        Returns:
        +
        the 'newLine'
        +
        +
      • +
      + + + +
        +
      • +

        setOptPrefix

        +
        public void setOptPrefix(String prefix)
        +
        Sets the 'optPrefix'.
        +
        +
        Parameters:
        +
        prefix - the new value of 'optPrefix'
        +
        +
      • +
      + + + +
        +
      • +

        getOptPrefix

        +
        public String getOptPrefix()
        +
        Returns the 'optPrefix'.
        +
        +
        Returns:
        +
        the 'optPrefix'
        +
        +
      • +
      + + + +
        +
      • +

        setLongOptPrefix

        +
        public void setLongOptPrefix(String prefix)
        +
        Sets the 'longOptPrefix'.
        +
        +
        Parameters:
        +
        prefix - the new value of 'longOptPrefix'
        +
        +
      • +
      + + + +
        +
      • +

        getLongOptPrefix

        +
        public String getLongOptPrefix()
        +
        Returns the 'longOptPrefix'.
        +
        +
        Returns:
        +
        the 'longOptPrefix'
        +
        +
      • +
      + + + +
        +
      • +

        setLongOptSeparator

        +
        public void setLongOptSeparator(String longOptSeparator)
        +
        Set the separator displayed between a long option and its value. + Ensure that the separator specified is supported by the parser used, + typically ' ' or '='.
        +
        +
        Parameters:
        +
        longOptSeparator - the separator, typically ' ' or '='.
        +
        Since:
        +
        1.3
        +
        +
      • +
      + + + +
        +
      • +

        getLongOptSeparator

        +
        public String getLongOptSeparator()
        +
        Returns the separator displayed between a long option and its value.
        +
        +
        Returns:
        +
        the separator
        +
        Since:
        +
        1.3
        +
        +
      • +
      + + + +
        +
      • +

        setArgName

        +
        public void setArgName(String name)
        +
        Sets the 'argName'.
        +
        +
        Parameters:
        +
        name - the new value of 'argName'
        +
        +
      • +
      + + + +
        +
      • +

        getArgName

        +
        public String getArgName()
        +
        Returns the 'argName'.
        +
        +
        Returns:
        +
        the 'argName'
        +
        +
      • +
      + + + +
        +
      • +

        getOptionComparator

        +
        public Comparator<Option> getOptionComparator()
        +
        Comparator used to sort the options when they output in help text. + Defaults to case-insensitive alphabetical sorting by option key.
        +
        +
        Returns:
        +
        the Comparator currently in use to sort the options
        +
        Since:
        +
        1.2
        +
        +
      • +
      + + + +
        +
      • +

        setOptionComparator

        +
        public void setOptionComparator(Comparator<Option> comparator)
        +
        Set the comparator used to sort the options when they output in help text. + Passing in a null comparator will keep the options in the order they were declared.
        +
        +
        Parameters:
        +
        comparator - the Comparator to use for sorting the options
        +
        Since:
        +
        1.2
        +
        +
      • +
      + + + +
        +
      • +

        printHelp

        +
        public void printHelp(String cmdLineSyntax,
        +                      Options options)
        +
        Print the help for options with the specified + command line syntax. This method prints help information to + System.out.
        +
        +
        Parameters:
        +
        cmdLineSyntax - the syntax for this application
        +
        options - the Options instance
        +
        +
      • +
      + + + +
        +
      • +

        printHelp

        +
        public void printHelp(String cmdLineSyntax,
        +                      Options options,
        +                      boolean autoUsage)
        +
        Print the help for options with the specified + command line syntax. This method prints help information to + System.out.
        +
        +
        Parameters:
        +
        cmdLineSyntax - the syntax for this application
        +
        options - the Options instance
        +
        autoUsage - whether to print an automatically generated + usage statement
        +
        +
      • +
      + + + +
        +
      • +

        printHelp

        +
        public void printHelp(String cmdLineSyntax,
        +                      String header,
        +                      Options options,
        +                      String footer)
        +
        Print the help for options with the specified + command line syntax. This method prints help information to + System.out.
        +
        +
        Parameters:
        +
        cmdLineSyntax - the syntax for this application
        +
        header - the banner to display at the beginning of the help
        +
        options - the Options instance
        +
        footer - the banner to display at the end of the help
        +
        +
      • +
      + + + +
        +
      • +

        printHelp

        +
        public void printHelp(String cmdLineSyntax,
        +                      String header,
        +                      Options options,
        +                      String footer,
        +                      boolean autoUsage)
        +
        Print the help for options with the specified + command line syntax. This method prints help information to + System.out.
        +
        +
        Parameters:
        +
        cmdLineSyntax - the syntax for this application
        +
        header - the banner to display at the beginning of the help
        +
        options - the Options instance
        +
        footer - the banner to display at the end of the help
        +
        autoUsage - whether to print an automatically generated + usage statement
        +
        +
      • +
      + + + +
        +
      • +

        printHelp

        +
        public void printHelp(int width,
        +                      String cmdLineSyntax,
        +                      String header,
        +                      Options options,
        +                      String footer)
        +
        Print the help for options with the specified + command line syntax. This method prints help information to + System.out.
        +
        +
        Parameters:
        +
        width - the number of characters to be displayed on each line
        +
        cmdLineSyntax - the syntax for this application
        +
        header - the banner to display at the beginning of the help
        +
        options - the Options instance
        +
        footer - the banner to display at the end of the help
        +
        +
      • +
      + + + +
        +
      • +

        printHelp

        +
        public void printHelp(int width,
        +                      String cmdLineSyntax,
        +                      String header,
        +                      Options options,
        +                      String footer,
        +                      boolean autoUsage)
        +
        Print the help for options with the specified + command line syntax. This method prints help information to + System.out.
        +
        +
        Parameters:
        +
        width - the number of characters to be displayed on each line
        +
        cmdLineSyntax - the syntax for this application
        +
        header - the banner to display at the beginning of the help
        +
        options - the Options instance
        +
        footer - the banner to display at the end of the help
        +
        autoUsage - whether to print an automatically generated + usage statement
        +
        +
      • +
      + + + +
        +
      • +

        printHelp

        +
        public void printHelp(PrintWriter pw,
        +                      int width,
        +                      String cmdLineSyntax,
        +                      String header,
        +                      Options options,
        +                      int leftPad,
        +                      int descPad,
        +                      String footer)
        +
        Print the help for options with the specified + command line syntax.
        +
        +
        Parameters:
        +
        pw - the writer to which the help will be written
        +
        width - the number of characters to be displayed on each line
        +
        cmdLineSyntax - the syntax for this application
        +
        header - the banner to display at the beginning of the help
        +
        options - the Options instance
        +
        leftPad - the number of characters of padding to be prefixed + to each line
        +
        descPad - the number of characters of padding to be prefixed + to each description line
        +
        footer - the banner to display at the end of the help
        +
        Throws:
        +
        IllegalStateException - if there is no room to print a line
        +
        +
      • +
      + + + +
        +
      • +

        printHelp

        +
        public void printHelp(PrintWriter pw,
        +                      int width,
        +                      String cmdLineSyntax,
        +                      String header,
        +                      Options options,
        +                      int leftPad,
        +                      int descPad,
        +                      String footer,
        +                      boolean autoUsage)
        +
        Print the help for options with the specified + command line syntax.
        +
        +
        Parameters:
        +
        pw - the writer to which the help will be written
        +
        width - the number of characters to be displayed on each line
        +
        cmdLineSyntax - the syntax for this application
        +
        header - the banner to display at the beginning of the help
        +
        options - the Options instance
        +
        leftPad - the number of characters of padding to be prefixed + to each line
        +
        descPad - the number of characters of padding to be prefixed + to each description line
        +
        footer - the banner to display at the end of the help
        +
        autoUsage - whether to print an automatically generated + usage statement
        +
        Throws:
        +
        IllegalStateException - if there is no room to print a line
        +
        +
      • +
      + + + +
        +
      • +

        printUsage

        +
        public void printUsage(PrintWriter pw,
        +                       int width,
        +                       String app,
        +                       Options options)
        +
        Prints the usage statement for the specified application.
        +
        +
        Parameters:
        +
        pw - The PrintWriter to print the usage statement
        +
        width - The number of characters to display per line
        +
        app - The application name
        +
        options - The command line Options
        +
        +
      • +
      + + + +
        +
      • +

        printUsage

        +
        public void printUsage(PrintWriter pw,
        +                       int width,
        +                       String cmdLineSyntax)
        +
        Print the cmdLineSyntax to the specified writer, using the + specified width.
        +
        +
        Parameters:
        +
        pw - The printWriter to write the help to
        +
        width - The number of characters per line for the usage statement.
        +
        cmdLineSyntax - The usage statement.
        +
        +
      • +
      + + + +
        +
      • +

        printOptions

        +
        public void printOptions(PrintWriter pw,
        +                         int width,
        +                         Options options,
        +                         int leftPad,
        +                         int descPad)
        +
        Print the help for the specified Options to the specified writer, + using the specified width, left padding and description padding.
        +
        +
        Parameters:
        +
        pw - The printWriter to write the help to
        +
        width - The number of characters to display per line
        +
        options - The command line Options
        +
        leftPad - the number of characters of padding to be prefixed + to each line
        +
        descPad - the number of characters of padding to be prefixed + to each description line
        +
        +
      • +
      + + + +
        +
      • +

        printWrapped

        +
        public void printWrapped(PrintWriter pw,
        +                         int width,
        +                         String text)
        +
        Print the specified text to the specified PrintWriter.
        +
        +
        Parameters:
        +
        pw - The printWriter to write the help to
        +
        width - The number of characters to display per line
        +
        text - The text to be written to the PrintWriter
        +
        +
      • +
      + + + +
        +
      • +

        printWrapped

        +
        public void printWrapped(PrintWriter pw,
        +                         int width,
        +                         int nextLineTabStop,
        +                         String text)
        +
        Print the specified text to the specified PrintWriter.
        +
        +
        Parameters:
        +
        pw - The printWriter to write the help to
        +
        width - The number of characters to display per line
        +
        nextLineTabStop - The position on the next line for the first tab.
        +
        text - The text to be written to the PrintWriter
        +
        +
      • +
      + + + +
        +
      • +

        renderOptions

        +
        protected StringBuffer renderOptions(StringBuffer sb,
        +                                     int width,
        +                                     Options options,
        +                                     int leftPad,
        +                                     int descPad)
        +
        Render the specified Options and return the rendered Options + in a StringBuffer.
        +
        +
        Parameters:
        +
        sb - The StringBuffer to place the rendered Options into.
        +
        width - The number of characters to display per line
        +
        options - The command line Options
        +
        leftPad - the number of characters of padding to be prefixed + to each line
        +
        descPad - the number of characters of padding to be prefixed + to each description line
        +
        Returns:
        +
        the StringBuffer with the rendered Options contents.
        +
        +
      • +
      + + + +
        +
      • +

        renderWrappedText

        +
        protected StringBuffer renderWrappedText(StringBuffer sb,
        +                                         int width,
        +                                         int nextLineTabStop,
        +                                         String text)
        +
        Render the specified text and return the rendered Options + in a StringBuffer.
        +
        +
        Parameters:
        +
        sb - The StringBuffer to place the rendered text into.
        +
        width - The number of characters to display per line
        +
        nextLineTabStop - The position on the next line for the first tab.
        +
        text - The text to be rendered.
        +
        Returns:
        +
        the StringBuffer with the rendered Options contents.
        +
        +
      • +
      + + + +
        +
      • +

        findWrapPos

        +
        protected int findWrapPos(String text,
        +                          int width,
        +                          int startPos)
        +
        Finds the next text wrap position after startPos for the + text in text with the column width width. + The wrap point is the last position before startPos+width having a + whitespace character (space, \n, \r). If there is no whitespace character + before startPos+width, it will return startPos+width.
        +
        +
        Parameters:
        +
        text - The text being searched for the wrap position
        +
        width - width of the wrapped text
        +
        startPos - position from which to start the lookup whitespace + character
        +
        Returns:
        +
        position on which the text must be wrapped or -1 if the wrap + position is at the end of the text
        +
        +
      • +
      + + + +
        +
      • +

        createPadding

        +
        protected String createPadding(int len)
        +
        Return a String of padding of length len.
        +
        +
        Parameters:
        +
        len - The length of the String of padding to create.
        +
        Returns:
        +
        The String of padding
        +
        +
      • +
      + + + +
        +
      • +

        rtrim

        +
        protected String rtrim(String s)
        +
        Remove the trailing whitespace from the specified String.
        +
        +
        Parameters:
        +
        s - The String to remove the trailing padding from.
        +
        Returns:
        +
        The String of without the trailing padding
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingArgumentException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingArgumentException.html new file mode 100755 index 0000000..b420e12 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingArgumentException.html @@ -0,0 +1,347 @@ + + + + + + +MissingArgumentException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class MissingArgumentException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    public class MissingArgumentException
    +extends ParseException
    +
    Thrown when an option requiring an argument + is not provided with an argument.
    +
    +
    Version:
    +
    $Id: MissingArgumentException.java 1443102 2013-02-06 18:12:16Z tn $
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MissingArgumentException

        +
        public MissingArgumentException(String message)
        +
        Construct a new MissingArgumentException + with the specified detail message.
        +
        +
        Parameters:
        +
        message - the detail message
        +
        +
      • +
      + + + +
        +
      • +

        MissingArgumentException

        +
        public MissingArgumentException(Option option)
        +
        Construct a new MissingArgumentException + with the specified detail message.
        +
        +
        Parameters:
        +
        option - the option requiring an argument
        +
        Since:
        +
        1.2
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getOption

        +
        public Option getOption()
        +
        Return the option requiring an argument that wasn't provided + on the command line.
        +
        +
        Returns:
        +
        the related option
        +
        Since:
        +
        1.2
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingOptionException.html new file mode 100755 index 0000000..efef673 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingOptionException.html @@ -0,0 +1,345 @@ + + + + + + +MissingOptionException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class MissingOptionException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    public class MissingOptionException
    +extends ParseException
    +
    Thrown when a required option has not been provided.
    +
    +
    Version:
    +
    $Id: MissingOptionException.java 1443102 2013-02-06 18:12:16Z tn $
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MissingOptionException

        +
        public MissingOptionException(String message)
        +
        Construct a new MissingSelectedException + with the specified detail message.
        +
        +
        Parameters:
        +
        message - the detail message
        +
        +
      • +
      + + + +
        +
      • +

        MissingOptionException

        +
        public MissingOptionException(List missingOptions)
        +
        Constructs a new MissingSelectedException with the + specified list of missing options.
        +
        +
        Parameters:
        +
        missingOptions - the list of missing options and groups
        +
        Since:
        +
        1.2
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getMissingOptions

        +
        public List getMissingOptions()
        +
        Returns the list of options or option groups missing in the command line parsed.
        +
        +
        Returns:
        +
        the missing options, consisting of String instances for simple + options, and OptionGroup instances for required option groups.
        +
        Since:
        +
        1.2
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.Builder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.Builder.html new file mode 100755 index 0000000..6c70d92 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.Builder.html @@ -0,0 +1,558 @@ + + + + + + +Option.Builder (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class Option.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    Option
    +
    +
    +
    +
    public static final class Option.Builder
    +extends Object
    +
    A nested builder class to create Option instances + using descriptive methods. +

    + Example usage: +

    + Option option = Option.builder("a")
    +     .required(true)
    +     .longOpt("arg-name")
    +     .build();
    + 
    +
    +
    Since:
    +
    1.3
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        argName

        +
        public Option.Builder argName(String argName)
        +
        Sets the display name for the argument value.
        +
        +
        Parameters:
        +
        argName - the display name for the argument value.
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        desc

        +
        public Option.Builder desc(String description)
        +
        Sets the description for this option.
        +
        +
        Parameters:
        +
        description - the description of the option.
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        longOpt

        +
        public Option.Builder longOpt(String longOpt)
        +
        Sets the long name of the Option.
        +
        +
        Parameters:
        +
        longOpt - the long name of the Option
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        numberOfArgs

        +
        public Option.Builder numberOfArgs(int numberOfArgs)
        +
        Sets the number of argument values the Option can take.
        +
        +
        Parameters:
        +
        numberOfArgs - the number of argument values
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        optionalArg

        +
        public Option.Builder optionalArg(boolean isOptional)
        +
        Sets whether the Option can have an optional argument.
        +
        +
        Parameters:
        +
        isOptional - specifies whether the Option can have + an optional argument.
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        required

        +
        public Option.Builder required()
        +
        Marks this Option as required.
        +
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        required

        +
        public Option.Builder required(boolean required)
        +
        Sets whether the Option is mandatory.
        +
        +
        Parameters:
        +
        required - specifies whether the Option is mandatory
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        type

        +
        public Option.Builder type(Class<?> type)
        +
        Sets the type of the Option.
        +
        +
        Parameters:
        +
        type - the type of the Option
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        valueSeparator

        +
        public Option.Builder valueSeparator()
        +
        The Option will use '=' as a means to separate argument value.
        +
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        valueSeparator

        +
        public Option.Builder valueSeparator(char sep)
        +
        The Option will use sep as a means to + separate argument values. +

        + Example: +

        + Option opt = Option.builder("D").hasArgs()
        +                                 .valueSeparator('=')
        +                                 .build();
        + Options options = new Options();
        + options.addOption(opt);
        + String[] args = {"-Dkey=value"};
        + CommandLineParser parser = new DefaultParser();
        + CommandLine line = parser.parse(options, args);
        + String propertyName = line.getOptionValues("D")[0];  // will be "key"
        + String propertyValue = line.getOptionValues("D")[1]; // will be "value"
        + 
        +
        +
        Parameters:
        +
        sep - The value separator.
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        hasArg

        +
        public Option.Builder hasArg()
        +
        Indicates that the Option will require an argument.
        +
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        hasArg

        +
        public Option.Builder hasArg(boolean hasArg)
        +
        Indicates if the Option has an argument or not.
        +
        +
        Parameters:
        +
        hasArg - specifies whether the Option takes an argument or not
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + +
        +
      • +

        hasArgs

        +
        public Option.Builder hasArgs()
        +
        Indicates that the Option can have unlimited argument values.
        +
        +
        Returns:
        +
        this builder, to allow method chaining
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.html new file mode 100755 index 0000000..2c832fc --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.html @@ -0,0 +1,1237 @@ + + + + + + +Option (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class Option

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable, Cloneable
    +
    +
    +
    +
    public class Option
    +extends Object
    +implements Cloneable, Serializable
    +
    Describes a single command-line option. It maintains + information regarding the short-name of the option, the long-name, + if any exists, a flag indicating if an argument is required for + this option, and a self-documenting description of the option. +

    + An Option is not created independently, but is created through + an instance of Options. An Option is required to have + at least a short or a long-name. +

    + Note: once an Option has been added to an instance + of Options, it's required flag may not be changed anymore.

    +
    +
    Version:
    +
    $Id: Option.java 1756753 2016-08-18 10:18:43Z britter $
    +
    See Also:
    +
    Options, +CommandLine, +Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClass and Description
      static class Option.Builder +
      A nested builder class to create Option instances + using descriptive methods.
      +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static intUNINITIALIZED +
      constant that specifies the number of argument values has not been specified
      +
      static intUNLIMITED_VALUES +
      constant that specifies the number of argument values is infinite
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      Option(String opt, + boolean hasArg, + String description) +
      Creates an Option using the specified parameters.
      +
      Option(String opt, + String description) +
      Creates an Option using the specified parameters.
      +
      Option(String opt, + String longOpt, + boolean hasArg, + String description) +
      Creates an Option using the specified parameters.
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        UNINITIALIZED

        +
        public static final int UNINITIALIZED
        +
        constant that specifies the number of argument values has not been specified
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        UNLIMITED_VALUES

        +
        public static final int UNLIMITED_VALUES
        +
        constant that specifies the number of argument values is infinite
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Option

        +
        public Option(String opt,
        +              String description)
        +       throws IllegalArgumentException
        +
        Creates an Option using the specified parameters. + The option does not take an argument.
        +
        +
        Parameters:
        +
        opt - short representation of the option
        +
        description - describes the function of the option
        +
        Throws:
        +
        IllegalArgumentException - if there are any non valid + Option characters in opt.
        +
        +
      • +
      + + + +
        +
      • +

        Option

        +
        public Option(String opt,
        +              boolean hasArg,
        +              String description)
        +       throws IllegalArgumentException
        +
        Creates an Option using the specified parameters.
        +
        +
        Parameters:
        +
        opt - short representation of the option
        +
        hasArg - specifies whether the Option takes an argument or not
        +
        description - describes the function of the option
        +
        Throws:
        +
        IllegalArgumentException - if there are any non valid + Option characters in opt.
        +
        +
      • +
      + + + +
        +
      • +

        Option

        +
        public Option(String opt,
        +              String longOpt,
        +              boolean hasArg,
        +              String description)
        +       throws IllegalArgumentException
        +
        Creates an Option using the specified parameters.
        +
        +
        Parameters:
        +
        opt - short representation of the option
        +
        longOpt - the long representation of the option
        +
        hasArg - specifies whether the Option takes an argument or not
        +
        description - describes the function of the option
        +
        Throws:
        +
        IllegalArgumentException - if there are any non valid + Option characters in opt.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getId

        +
        public int getId()
        +
        Returns the id of this Option. This is only set when the + Option shortOpt is a single character. This is used for switch + statements.
        +
        +
        Returns:
        +
        the id of this Option
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getType

        +
        public Object getType()
        +
        Retrieve the type of this Option.
        +
        +
        Returns:
        +
        The type of this option
        +
        +
      • +
      + + + +
        +
      • +

        setType

        +
        @Deprecated
        +public void setType(Object type)
        +
        Deprecated. since 1.3, use setType(Class) instead
        +
        Sets the type of this Option. +

        + Note: this method is kept for binary compatibility and the + input type is supposed to be a Class object.

        +
        +
        Parameters:
        +
        type - the type of this Option
        +
        +
      • +
      + + + +
        +
      • +

        setType

        +
        public void setType(Class<?> type)
        +
        Sets the type of this Option.
        +
        +
        Parameters:
        +
        type - the type of this Option
        +
        Since:
        +
        1.3
        +
        +
      • +
      + + + +
        +
      • +

        getLongOpt

        +
        public String getLongOpt()
        +
        Retrieve the long name of this Option.
        +
        +
        Returns:
        +
        Long name of this option, or null, if there is no long name
        +
        +
      • +
      + + + +
        +
      • +

        setLongOpt

        +
        public void setLongOpt(String longOpt)
        +
        Sets the long name of this Option.
        +
        +
        Parameters:
        +
        longOpt - the long name of this Option
        +
        +
      • +
      + + + +
        +
      • +

        setOptionalArg

        +
        public void setOptionalArg(boolean optionalArg)
        +
        Sets whether this Option can have an optional argument.
        +
        +
        Parameters:
        +
        optionalArg - specifies whether the Option can have + an optional argument.
        +
        +
      • +
      + + + +
        +
      • +

        hasOptionalArg

        +
        public boolean hasOptionalArg()
        +
        +
        Returns:
        +
        whether this Option can have an optional argument
        +
        +
      • +
      + + + +
        +
      • +

        hasLongOpt

        +
        public boolean hasLongOpt()
        +
        Query to see if this Option has a long name
        +
        +
        Returns:
        +
        boolean flag indicating existence of a long name
        +
        +
      • +
      + + + +
        +
      • +

        hasArg

        +
        public boolean hasArg()
        +
        Query to see if this Option requires an argument
        +
        +
        Returns:
        +
        boolean flag indicating if an argument is required
        +
        +
      • +
      + + + +
        +
      • +

        getDescription

        +
        public String getDescription()
        +
        Retrieve the self-documenting description of this Option
        +
        +
        Returns:
        +
        The string description of this option
        +
        +
      • +
      + + + +
        +
      • +

        setDescription

        +
        public void setDescription(String description)
        +
        Sets the self-documenting description of this Option
        +
        +
        Parameters:
        +
        description - The description of this option
        +
        Since:
        +
        1.1
        +
        +
      • +
      + + + +
        +
      • +

        isRequired

        +
        public boolean isRequired()
        +
        Query to see if this Option is mandatory
        +
        +
        Returns:
        +
        boolean flag indicating whether this Option is mandatory
        +
        +
      • +
      + + + +
        +
      • +

        setRequired

        +
        public void setRequired(boolean required)
        +
        Sets whether this Option is mandatory.
        +
        +
        Parameters:
        +
        required - specifies whether this Option is mandatory
        +
        +
      • +
      + + + +
        +
      • +

        setArgName

        +
        public void setArgName(String argName)
        +
        Sets the display name for the argument value.
        +
        +
        Parameters:
        +
        argName - the display name for the argument value.
        +
        +
      • +
      + + + +
        +
      • +

        getArgName

        +
        public String getArgName()
        +
        Gets the display name for the argument value.
        +
        +
        Returns:
        +
        the display name for the argument value.
        +
        +
      • +
      + + + +
        +
      • +

        hasArgName

        +
        public boolean hasArgName()
        +
        Returns whether the display name for the argument value has been set.
        +
        +
        Returns:
        +
        if the display name for the argument value has been set.
        +
        +
      • +
      + + + +
        +
      • +

        hasArgs

        +
        public boolean hasArgs()
        +
        Query to see if this Option can take many values.
        +
        +
        Returns:
        +
        boolean flag indicating if multiple values are allowed
        +
        +
      • +
      + + + +
        +
      • +

        setArgs

        +
        public void setArgs(int num)
        +
        Sets the number of argument values this Option can take.
        +
        +
        Parameters:
        +
        num - the number of argument values
        +
        +
      • +
      + + + +
        +
      • +

        setValueSeparator

        +
        public void setValueSeparator(char sep)
        +
        Sets the value separator. For example if the argument value + was a Java property, the value separator would be '='.
        +
        +
        Parameters:
        +
        sep - The value separator.
        +
        +
      • +
      + + + +
        +
      • +

        getValueSeparator

        +
        public char getValueSeparator()
        +
        Returns the value separator character.
        +
        +
        Returns:
        +
        the value separator character.
        +
        +
      • +
      + + + +
        +
      • +

        hasValueSeparator

        +
        public boolean hasValueSeparator()
        +
        Return whether this Option has specified a value separator.
        +
        +
        Returns:
        +
        whether this Option has specified a value separator.
        +
        Since:
        +
        1.1
        +
        +
      • +
      + + + +
        +
      • +

        getArgs

        +
        public int getArgs()
        +
        Returns the number of argument values this Option can take. + +

        + A value equal to the constant UNINITIALIZED (= -1) indicates + the number of arguments has not been specified. + A value equal to the constant UNLIMITED_VALUES (= -2) indicates + that this options takes an unlimited amount of values. +

        +
        +
        Returns:
        +
        num the number of argument values
        +
        See Also:
        +
        UNINITIALIZED, +UNLIMITED_VALUES
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
        Returns the specified value of this Option or + null if there is no value.
        +
        +
        Returns:
        +
        the value/first value of this Option or + null if there is no value.
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue(int index)
        +                throws IndexOutOfBoundsException
        +
        Returns the specified value of this Option or + null if there is no value.
        +
        +
        Parameters:
        +
        index - The index of the value to be returned.
        +
        Returns:
        +
        the specified value of this Option or + null if there is no value.
        +
        Throws:
        +
        IndexOutOfBoundsException - if index is less than 1 + or greater than the number of the values for this Option.
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue(String defaultValue)
        +
        Returns the value/first value of this Option or the + defaultValue if there is no value.
        +
        +
        Parameters:
        +
        defaultValue - The value to be returned if there + is no value.
        +
        Returns:
        +
        the value/first value of this Option or the + defaultValue if there are no values.
        +
        +
      • +
      + + + +
        +
      • +

        getValues

        +
        public String[] getValues()
        +
        Return the values of this Option as a String array + or null if there are no values
        +
        +
        Returns:
        +
        the values of this Option as a String array + or null if there are no values
        +
        +
      • +
      + + + +
        +
      • +

        getValuesList

        +
        public List<String> getValuesList()
        +
        +
        Returns:
        +
        the values of this Option as a List + or null if there are no values
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public String toString()
        +
        Dump state, suitable for debugging.
        +
        +
        Overrides:
        +
        toString in class Object
        +
        Returns:
        +
        Stringified form of this object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + +
        +
      • +

        clone

        +
        public Object clone()
        +
        A rather odd clone method - due to incorrect code in 1.0 it is public + and in 1.1 rather than throwing a CloneNotSupportedException it throws + a RuntimeException so as to maintain backwards compat at the API level. + + After calling this method, it is very likely you will want to call + clearValues().
        +
        +
        Overrides:
        +
        clone in class Object
        +
        Returns:
        +
        a clone of this Option instance
        +
        Throws:
        +
        RuntimeException - if a CloneNotSupportedException has been thrown + by super.clone()
        +
        +
      • +
      + + + +
        +
      • +

        addValue

        +
        @Deprecated
        +public boolean addValue(String value)
        +
        Deprecated. 
        +
        This method is not intended to be used. It was a piece of internal + API that was made public in 1.0. It currently throws an UnsupportedOperationException.
        +
        +
        Parameters:
        +
        value - the value to add
        +
        Returns:
        +
        always throws an UnsupportedOperationException
        +
        Throws:
        +
        UnsupportedOperationException - always
        +
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionBuilder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionBuilder.html new file mode 100755 index 0000000..fe5ec96 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionBuilder.html @@ -0,0 +1,737 @@ + + + + + + +OptionBuilder (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class OptionBuilder

+
+
+ +
+
    +
  • +
    +
    Deprecated.  +
    since 1.3, use Option.builder(String) instead
    +
    +
    +
    @Deprecated
    +public final class OptionBuilder
    +extends Object
    +
    OptionBuilder allows the user to create Options using descriptive methods. +

    + Details on the Builder pattern can be found at + http://c2.com/cgi-bin/wiki?BuilderPattern. +

    + This class is NOT thread safe. See CLI-209

    +
    +
    Since:
    +
    1.0
    +
    Version:
    +
    $Id: OptionBuilder.java 1677400 2015-05-03 13:46:08Z britter $
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        withLongOpt

        +
        public static OptionBuilder withLongOpt(String newLongopt)
        +
        Deprecated. 
        +
        The next Option created will have the following long option value.
        +
        +
        Parameters:
        +
        newLongopt - the long option value
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        hasArg

        +
        public static OptionBuilder hasArg()
        +
        Deprecated. 
        +
        The next Option created will require an argument value.
        +
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        hasArg

        +
        public static OptionBuilder hasArg(boolean hasArg)
        +
        Deprecated. 
        +
        The next Option created will require an argument value if + hasArg is true.
        +
        +
        Parameters:
        +
        hasArg - if true then the Option has an argument value
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        withArgName

        +
        public static OptionBuilder withArgName(String name)
        +
        Deprecated. 
        +
        The next Option created will have the specified argument value name.
        +
        +
        Parameters:
        +
        name - the name for the argument value
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        isRequired

        +
        public static OptionBuilder isRequired()
        +
        Deprecated. 
        +
        The next Option created will be required.
        +
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        withValueSeparator

        +
        public static OptionBuilder withValueSeparator(char sep)
        +
        Deprecated. 
        +
        The next Option created uses sep as a means to + separate argument values. +

        + Example: +

        + Option opt = OptionBuilder.withValueSeparator('=')
        +                           .create('D');
        +
        + String args = "-Dkey=value";
        + CommandLine line = parser.parse(args);
        + String propertyName = opt.getValue(0);  // will be "key"
        + String propertyValue = opt.getValue(1); // will be "value"
        + 
        +
        +
        Parameters:
        +
        sep - The value separator to be used for the argument values.
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        withValueSeparator

        +
        public static OptionBuilder withValueSeparator()
        +
        Deprecated. 
        +
        The next Option created uses '=' as a means to + separate argument values. + + Example: +
        + Option opt = OptionBuilder.withValueSeparator()
        +                           .create('D');
        +
        + CommandLine line = parser.parse(args);
        + String propertyName = opt.getValue(0);
        + String propertyValue = opt.getValue(1);
        + 
        +
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        isRequired

        +
        public static OptionBuilder isRequired(boolean newRequired)
        +
        Deprecated. 
        +
        The next Option created will be required if required + is true.
        +
        +
        Parameters:
        +
        newRequired - if true then the Option is required
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        hasArgs

        +
        public static OptionBuilder hasArgs()
        +
        Deprecated. 
        +
        The next Option created can have unlimited argument values.
        +
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        hasArgs

        +
        public static OptionBuilder hasArgs(int num)
        +
        Deprecated. 
        +
        The next Option created can have num argument values.
        +
        +
        Parameters:
        +
        num - the number of args that the option can have
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        hasOptionalArg

        +
        public static OptionBuilder hasOptionalArg()
        +
        Deprecated. 
        +
        The next Option can have an optional argument.
        +
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        hasOptionalArgs

        +
        public static OptionBuilder hasOptionalArgs()
        +
        Deprecated. 
        +
        The next Option can have an unlimited number of optional arguments.
        +
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        hasOptionalArgs

        +
        public static OptionBuilder hasOptionalArgs(int numArgs)
        +
        Deprecated. 
        +
        The next Option can have the specified number of optional arguments.
        +
        +
        Parameters:
        +
        numArgs - - the maximum number of optional arguments + the next Option created can have.
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        withType

        +
        @Deprecated
        +public static OptionBuilder withType(Object newType)
        +
        Deprecated. since 1.3, use withType(Class) instead
        +
        The next Option created will have a value that will be an instance + of type. +

        + Note: this method is kept for binary compatibility and the + input type is supposed to be a Class object.

        +
        +
        Parameters:
        +
        newType - the type of the Options argument value
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        withType

        +
        public static OptionBuilder withType(Class<?> newType)
        +
        Deprecated. 
        +
        The next Option created will have a value that will be an instance + of type.
        +
        +
        Parameters:
        +
        newType - the type of the Options argument value
        +
        Returns:
        +
        the OptionBuilder instance
        +
        Since:
        +
        1.3
        +
        +
      • +
      + + + +
        +
      • +

        withDescription

        +
        public static OptionBuilder withDescription(String newDescription)
        +
        Deprecated. 
        +
        The next Option created will have the specified description
        +
        +
        Parameters:
        +
        newDescription - a description of the Option's purpose
        +
        Returns:
        +
        the OptionBuilder instance
        +
        +
      • +
      + + + +
        +
      • +

        create

        +
        public static Option create(char opt)
        +                     throws IllegalArgumentException
        +
        Deprecated. 
        +
        Create an Option using the current settings and with + the specified Option char.
        +
        +
        Parameters:
        +
        opt - the character representation of the Option
        +
        Returns:
        +
        the Option instance
        +
        Throws:
        +
        IllegalArgumentException - if opt is not + a valid character. See Option.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        create

        +
        public static Option create(String opt)
        +                     throws IllegalArgumentException
        +
        Deprecated. 
        +
        Create an Option using the current settings and with + the specified Option char.
        +
        +
        Parameters:
        +
        opt - the java.lang.String representation + of the Option
        +
        Returns:
        +
        the Option instance
        +
        Throws:
        +
        IllegalArgumentException - if opt is not + a valid character. See Option.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionGroup.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionGroup.html new file mode 100755 index 0000000..c89617a --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionGroup.html @@ -0,0 +1,426 @@ + + + + + + +OptionGroup (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class OptionGroup

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    public class OptionGroup
    +extends Object
    +implements Serializable
    +
    A group of mutually exclusive options.
    +
    +
    Version:
    +
    $Id: OptionGroup.java 1749596 2016-06-21 20:27:06Z britter $
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        OptionGroup

        +
        public OptionGroup()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addOption

        +
        public OptionGroup addOption(Option option)
        +
        Add the specified Option to this group.
        +
        +
        Parameters:
        +
        option - the option to add to this group
        +
        Returns:
        +
        this option group with the option added
        +
        +
      • +
      + + + +
        +
      • +

        getNames

        +
        public Collection<String> getNames()
        +
        +
        Returns:
        +
        the names of the options in this group as a + Collection
        +
        +
      • +
      + + + +
        +
      • +

        getOptions

        +
        public Collection<Option> getOptions()
        +
        +
        Returns:
        +
        the options in this group as a Collection
        +
        +
      • +
      + + + +
        +
      • +

        setSelected

        +
        public void setSelected(Option option)
        +                 throws AlreadySelectedException
        +
        Set the selected option of this group to name.
        +
        +
        Parameters:
        +
        option - the option that is selected
        +
        Throws:
        +
        AlreadySelectedException - if an option from this group has + already been selected.
        +
        +
      • +
      + + + +
        +
      • +

        getSelected

        +
        public String getSelected()
        +
        +
        Returns:
        +
        the selected option name
        +
        +
      • +
      + + + +
        +
      • +

        setRequired

        +
        public void setRequired(boolean required)
        +
        +
        Parameters:
        +
        required - specifies if this group is required
        +
        +
      • +
      + + + +
        +
      • +

        isRequired

        +
        public boolean isRequired()
        +
        Returns whether this option group is required.
        +
        +
        Returns:
        +
        whether this option group is required
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public String toString()
        +
        Returns the stringified version of this OptionGroup.
        +
        +
        Overrides:
        +
        toString in class Object
        +
        Returns:
        +
        the stringified representation of this group
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Options.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Options.html new file mode 100755 index 0000000..ee94f89 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Options.html @@ -0,0 +1,668 @@ + + + + + + +Options (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class Options

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    public class Options
    +extends Object
    +implements Serializable
    +
    Main entry-point into the library. +

    + Options represents a collection of Option objects, which + describe the possible options for a command-line. +

    + It may flexibly parse long and short options, with or without + values. Additionally, it may parse only a portion of a commandline, + allowing for flexible multi-stage parsing.

    +
    +
    Version:
    +
    $Id: Options.java 1754332 2016-07-27 18:47:57Z britter $
    +
    See Also:
    +
    CommandLine, +Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Options

        +
        public Options()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addOptionGroup

        +
        public Options addOptionGroup(OptionGroup group)
        +
        Add the specified option group.
        +
        +
        Parameters:
        +
        group - the OptionGroup that is to be added
        +
        Returns:
        +
        the resulting Options instance
        +
        +
      • +
      + + + +
        +
      • +

        addOption

        +
        public Options addOption(String opt,
        +                         String description)
        +
        Add an option that only contains a short name. + +

        + The option does not take an argument. +

        +
        +
        Parameters:
        +
        opt - Short single-character name of the option.
        +
        description - Self-documenting description
        +
        Returns:
        +
        the resulting Options instance
        +
        Since:
        +
        1.3
        +
        +
      • +
      + + + +
        +
      • +

        addOption

        +
        public Options addOption(String opt,
        +                         boolean hasArg,
        +                         String description)
        +
        Add an option that only contains a short-name. + +

        + It may be specified as requiring an argument. +

        +
        +
        Parameters:
        +
        opt - Short single-character name of the option.
        +
        hasArg - flag signally if an argument is required after this option
        +
        description - Self-documenting description
        +
        Returns:
        +
        the resulting Options instance
        +
        +
      • +
      + + + +
        +
      • +

        addOption

        +
        public Options addOption(String opt,
        +                         String longOpt,
        +                         boolean hasArg,
        +                         String description)
        +
        Add an option that contains a short-name and a long-name. + +

        + It may be specified as requiring an argument. +

        +
        +
        Parameters:
        +
        opt - Short single-character name of the option.
        +
        longOpt - Long multi-character name of the option.
        +
        hasArg - flag signally if an argument is required after this option
        +
        description - Self-documenting description
        +
        Returns:
        +
        the resulting Options instance
        +
        +
      • +
      + + + +
        +
      • +

        addRequiredOption

        +
        public Options addRequiredOption(String opt,
        +                                 String longOpt,
        +                                 boolean hasArg,
        +                                 String description)
        +
        Add an option that contains a short-name and a long-name. + +

        + The added option is set as required. It may be specified as requiring an argument. This method is a shortcut for: +

        + +
        + 
        + Options option = new Option(opt, longOpt, hasArg, description);
        + option.setRequired(true);
        + options.add(option);
        + 
        + 
        +
        +
        Parameters:
        +
        opt - Short single-character name of the option.
        +
        longOpt - Long multi-character name of the option.
        +
        hasArg - flag signally if an argument is required after this option
        +
        description - Self-documenting description
        +
        Returns:
        +
        the resulting Options instance
        +
        Since:
        +
        1.4
        +
        +
      • +
      + + + +
        +
      • +

        addOption

        +
        public Options addOption(Option opt)
        +
        Adds an option instance
        +
        +
        Parameters:
        +
        opt - the option that is to be added
        +
        Returns:
        +
        the resulting Options instance
        +
        +
      • +
      + + + +
        +
      • +

        getOptions

        +
        public Collection<Option> getOptions()
        +
        Retrieve a read-only list of options in this set
        +
        +
        Returns:
        +
        read-only Collection of Option objects in this descriptor
        +
        +
      • +
      + + + +
        +
      • +

        getRequiredOptions

        +
        public List getRequiredOptions()
        +
        Returns the required options.
        +
        +
        Returns:
        +
        read-only List of required options
        +
        +
      • +
      + + + +
        +
      • +

        getOption

        +
        public Option getOption(String opt)
        +
        Retrieve the Option matching the long or short name specified. + +

        + The leading hyphens in the name are ignored (up to 2). +

        +
        +
        Parameters:
        +
        opt - short or long name of the Option
        +
        Returns:
        +
        the option represented by opt
        +
        +
      • +
      + + + +
        +
      • +

        getMatchingOptions

        +
        public List<String> getMatchingOptions(String opt)
        +
        Returns the options with a long name starting with the name specified.
        +
        +
        Parameters:
        +
        opt - the partial name of the option
        +
        Returns:
        +
        the options matching the partial name specified, or an empty list if none matches
        +
        Since:
        +
        1.3
        +
        +
      • +
      + + + +
        +
      • +

        hasOption

        +
        public boolean hasOption(String opt)
        +
        Returns whether the named Option is a member of this Options.
        +
        +
        Parameters:
        +
        opt - short or long name of the Option
        +
        Returns:
        +
        true if the named Option is a member of this Options
        +
        +
      • +
      + + + +
        +
      • +

        hasLongOption

        +
        public boolean hasLongOption(String opt)
        +
        Returns whether the named Option is a member of this Options.
        +
        +
        Parameters:
        +
        opt - long name of the Option
        +
        Returns:
        +
        true if the named Option is a member of this Options
        +
        Since:
        +
        1.3
        +
        +
      • +
      + + + +
        +
      • +

        hasShortOption

        +
        public boolean hasShortOption(String opt)
        +
        Returns whether the named Option is a member of this Options.
        +
        +
        Parameters:
        +
        opt - short name of the Option
        +
        Returns:
        +
        true if the named Option is a member of this Options
        +
        Since:
        +
        1.3
        +
        +
      • +
      + + + +
        +
      • +

        getOptionGroup

        +
        public OptionGroup getOptionGroup(Option opt)
        +
        Returns the OptionGroup the opt belongs to.
        +
        +
        Parameters:
        +
        opt - the option whose OptionGroup is being queried.
        +
        Returns:
        +
        the OptionGroup if opt is part of an OptionGroup, otherwise return null
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public String toString()
        +
        Dump state, suitable for debugging.
        +
        +
        Overrides:
        +
        toString in class Object
        +
        Returns:
        +
        Stringified form of this object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/ParseException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/ParseException.html new file mode 100755 index 0000000..17f2db9 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/ParseException.html @@ -0,0 +1,277 @@ + + + + + + +ParseException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class ParseException

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ParseException

        +
        public ParseException(String message)
        +
        Construct a new ParseException + with the specified detail message.
        +
        +
        Parameters:
        +
        message - the detail message
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Parser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Parser.html new file mode 100755 index 0000000..2ed4566 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Parser.html @@ -0,0 +1,673 @@ + + + + + + +Parser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class Parser

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        cmd

        +
        protected CommandLine cmd
        +
        Deprecated. 
        +
        commandline instance
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Parser

        +
        public Parser()
        +
        Deprecated. 
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setOptions

        +
        protected void setOptions(Options options)
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        getOptions

        +
        protected Options getOptions()
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        getRequiredOptions

        +
        protected List getRequiredOptions()
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        flatten

        +
        protected abstract String[] flatten(Options opts,
        +                                    String[] arguments,
        +                                    boolean stopAtNonOption)
        +                             throws ParseException
        +
        Deprecated. 
        +
        Subclasses must implement this method to reduce + the arguments that have been passed to the parse method.
        +
        +
        Parameters:
        +
        opts - The Options to parse the arguments by.
        +
        arguments - The arguments that have to be flattened.
        +
        stopAtNonOption - specifies whether to stop + flattening when a non option has been encountered
        +
        Returns:
        +
        a String array of the flattened arguments
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line tokens.
        +
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public CommandLine parse(Options options,
        +                         String[] arguments)
        +                  throws ParseException
        +
        Deprecated. 
        +
        Parses the specified arguments based + on the specified Options.
        +
        +
        Specified by:
        +
        parse in interface CommandLineParser
        +
        Parameters:
        +
        options - the Options
        +
        arguments - the arguments
        +
        Returns:
        +
        the CommandLine
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line tokens.
        +
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public CommandLine parse(Options options,
        +                         String[] arguments,
        +                         Properties properties)
        +                  throws ParseException
        +
        Deprecated. 
        +
        Parse the arguments according to the specified options and properties.
        +
        +
        Parameters:
        +
        options - the specified Options
        +
        arguments - the command line arguments
        +
        properties - command line option name-value pairs
        +
        Returns:
        +
        the list of atomic option and value tokens
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line tokens.
        +
        Since:
        +
        1.1
        +
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public CommandLine parse(Options options,
        +                         String[] arguments,
        +                         boolean stopAtNonOption)
        +                  throws ParseException
        +
        Deprecated. 
        +
        Parses the specified arguments + based on the specified Options.
        +
        +
        Specified by:
        +
        parse in interface CommandLineParser
        +
        Parameters:
        +
        options - the Options
        +
        arguments - the arguments
        +
        stopAtNonOption - if true an unrecognized argument stops + the parsing and the remaining arguments are added to the + CommandLines args list. If false an unrecognized + argument triggers a ParseException.
        +
        Returns:
        +
        the CommandLine
        +
        Throws:
        +
        ParseException - if an error occurs when parsing the arguments.
        +
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public CommandLine parse(Options options,
        +                         String[] arguments,
        +                         Properties properties,
        +                         boolean stopAtNonOption)
        +                  throws ParseException
        +
        Deprecated. 
        +
        Parse the arguments according to the specified options and + properties.
        +
        +
        Parameters:
        +
        options - the specified Options
        +
        arguments - the command line arguments
        +
        properties - command line option name-value pairs
        +
        stopAtNonOption - if true an unrecognized argument stops + the parsing and the remaining arguments are added to the + CommandLines args list. If false an unrecognized + argument triggers a ParseException.
        +
        Returns:
        +
        the list of atomic option and value tokens
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line tokens.
        +
        Since:
        +
        1.1
        +
        +
      • +
      + + + +
        +
      • +

        processProperties

        +
        protected void processProperties(Properties properties)
        +                          throws ParseException
        +
        Deprecated. 
        +
        Sets the values of Options using the values in properties.
        +
        +
        Parameters:
        +
        properties - The value properties to be processed.
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while processing the properties.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        processArgs

        +
        public void processArgs(Option opt,
        +                        ListIterator<String> iter)
        +                 throws ParseException
        +
        Deprecated. 
        +
        Process the argument values for the specified Option + opt using the values retrieved from the + specified iterator iter.
        +
        +
        Parameters:
        +
        opt - The current Option
        +
        iter - The iterator over the flattened command line Options.
        +
        Throws:
        +
        ParseException - if an argument value is required + and it is has not been found.
        +
        +
      • +
      + + + +
        +
      • +

        processOption

        +
        protected void processOption(String arg,
        +                             ListIterator<String> iter)
        +                      throws ParseException
        +
        Deprecated. 
        +
        Process the Option specified by arg using the values + retrieved from the specified iterator iter.
        +
        +
        Parameters:
        +
        arg - The String value representing an Option
        +
        iter - The iterator over the flattened command line arguments.
        +
        Throws:
        +
        ParseException - if arg does not represent an Option
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PatternOptionBuilder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PatternOptionBuilder.html new file mode 100755 index 0000000..325313e --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PatternOptionBuilder.html @@ -0,0 +1,523 @@ + + + + + + +PatternOptionBuilder (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class PatternOptionBuilder

+
+
+ +
+
    +
  • +
    +
    +
    public class PatternOptionBuilder
    +extends Object
    +

    Allows Options to be created from a single String. + The pattern contains various single character flags and via + an optional punctuation character, their expected type. +

    + + + + + + + + + + +
    Overview of PatternOptionBuilder patterns
    a-a flag
    b@-b [classname]
    c>-c [filename]
    d+-d [classname] (creates object via empty constructor)
    e%-e [number] (creates Double/Long instance depending on existing of a '.')
    f/-f [url]
    g:-g [string]
    + +

    + For example, the following allows command line flags of '-v -p string-value -f /dir/file'. + The exclamation mark precede a mandatory option. +

    + +
    +     Options options = PatternOptionBuilder.parsePattern("vp:!f/");
    + 
    + +

    + TODO: These need to break out to OptionType and also to be pluggable. +

    +
    +
    Version:
    +
    $Id: PatternOptionBuilder.java 1677406 2015-05-03 14:27:31Z britter $
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        STRING_VALUE

        +
        public static final Class<String> STRING_VALUE
        +
        String class
        +
      • +
      + + + +
        +
      • +

        OBJECT_VALUE

        +
        public static final Class<Object> OBJECT_VALUE
        +
        Object class
        +
      • +
      + + + +
        +
      • +

        NUMBER_VALUE

        +
        public static final Class<Number> NUMBER_VALUE
        +
        Number class
        +
      • +
      + + + +
        +
      • +

        DATE_VALUE

        +
        public static final Class<Date> DATE_VALUE
        +
        Date class
        +
      • +
      + + + +
        +
      • +

        CLASS_VALUE

        +
        public static final Class<?> CLASS_VALUE
        +
        Class class
        +
      • +
      + + + +
        +
      • +

        EXISTING_FILE_VALUE

        +
        public static final Class<FileInputStream> EXISTING_FILE_VALUE
        +
        FileInputStream class
        +
      • +
      + + + +
        +
      • +

        FILE_VALUE

        +
        public static final Class<File> FILE_VALUE
        +
        File class
        +
      • +
      + + + +
        +
      • +

        FILES_VALUE

        +
        public static final Class<File[]> FILES_VALUE
        +
        File array class
        +
      • +
      + + + +
        +
      • +

        URL_VALUE

        +
        public static final Class<URL> URL_VALUE
        +
        URL class
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PatternOptionBuilder

        +
        public PatternOptionBuilder()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getValueClass

        +
        public static Object getValueClass(char ch)
        +
        Retrieve the class that ch represents.
        +
        +
        Parameters:
        +
        ch - the specified character
        +
        Returns:
        +
        The class that ch represents
        +
        +
      • +
      + + + +
        +
      • +

        isValueCode

        +
        public static boolean isValueCode(char ch)
        +
        Returns whether ch is a value code, i.e. + whether it represents a class in a pattern.
        +
        +
        Parameters:
        +
        ch - the specified character
        +
        Returns:
        +
        true if ch is a value code, otherwise false.
        +
        +
      • +
      + + + +
        +
      • +

        parsePattern

        +
        public static Options parsePattern(String pattern)
        +
        Returns the Options instance represented by pattern.
        +
        +
        Parameters:
        +
        pattern - the pattern string
        +
        Returns:
        +
        The Options instance
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PosixParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PosixParser.html new file mode 100755 index 0000000..13bf8db --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PosixParser.html @@ -0,0 +1,413 @@ + + + + + + +PosixParser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class PosixParser

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    CommandLineParser
    +
    +
    +
    Deprecated.  +
    since 1.3, use the DefaultParser instead
    +
    +
    +
    @Deprecated
    +public class PosixParser
    +extends Parser
    +
    The class PosixParser provides an implementation of the + flatten method.
    +
    +
    Version:
    +
    $Id: PosixParser.java 1783175 2017-02-16 07:52:05Z britter $
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PosixParser

        +
        public PosixParser()
        +
        Deprecated. 
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        flatten

        +
        protected String[] flatten(Options options,
        +                           String[] arguments,
        +                           boolean stopAtNonOption)
        +                    throws ParseException
        +
        Deprecated. 
        +

        An implementation of Parser's abstract + flatten method.

        + +

        The following are the rules used by this flatten method.

        +
          +
        1. if stopAtNonOption is true then do not + burst anymore of arguments entries, just add each + successive entry without further processing. Otherwise, ignore + stopAtNonOption.
        2. +
        3. if the current arguments entry is "--" + just add the entry to the list of processed tokens
        4. +
        5. if the current arguments entry is "-" + just add the entry to the list of processed tokens
        6. +
        7. if the current arguments entry is two characters + in length and the first character is "-" then check if this + is a valid Option id. If it is a valid id, then add the + entry to the list of processed tokens and set the current Option + member. If it is not a valid id and stopAtNonOption + is true, then the remaining entries are copied to the list of + processed tokens. Otherwise, the current entry is ignored.
        8. +
        9. if the current arguments entry is more than two + characters in length and the first character is "-" then + we need to burst the entry to determine its constituents. For more + information on the bursting algorithm see + burstToken.
        10. +
        11. if the current arguments entry is not handled + by any of the previous rules, then the entry is added to the list + of processed tokens.
        12. +
        +
        +
        Specified by:
        +
        flatten in class Parser
        +
        Parameters:
        +
        options - The command line Options
        +
        arguments - The command line arguments to be parsed
        +
        stopAtNonOption - Specifies whether to stop flattening + when an non option is found.
        +
        Returns:
        +
        The flattened arguments String array.
        +
        Throws:
        +
        ParseException - if there are any problems encountered + while parsing the command line tokens.
        +
        +
      • +
      + + + +
        +
      • +

        burstToken

        +
        protected void burstToken(String token,
        +                          boolean stopAtNonOption)
        +
        Deprecated. 
        +
        Breaks token into its constituent parts + using the following algorithm. + +
          +
        • ignore the first character ("-")
        • +
        • for each remaining character check if an Option + exists with that id.
        • +
        • if an Option does exist then add that character + prepended with "-" to the list of processed tokens.
        • +
        • if the Option can have an argument value and there + are remaining characters in the token then add the remaining + characters as a token to the list of processed tokens.
        • +
        • if an Option does NOT exist AND + stopAtNonOption IS set then add the special token + "--" followed by the remaining characters and also + the remaining tokens directly to the processed tokens list.
        • +
        • if an Option does NOT exist AND + stopAtNonOption IS NOT set then add that + character prepended with "-".
        • +
        +
        +
        Parameters:
        +
        token - The current token to be burst
        +
        stopAtNonOption - Specifies whether to stop processing + at the first non-Option encountered.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/TypeHandler.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/TypeHandler.html new file mode 100755 index 0000000..bc23cb7 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/TypeHandler.html @@ -0,0 +1,505 @@ + + + + + + +TypeHandler (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class TypeHandler

+
+
+ +
+
    +
  • +
    +
    +
    public class TypeHandler
    +extends Object
    +
    This is a temporary implementation. TypeHandler will handle the + pluggableness of OptionTypes and it will direct all of these types + of conversion functionalities to ConvertUtils component in Commons + already. BeanUtils I think.
    +
    +
    Version:
    +
    $Id: TypeHandler.java 1677452 2015-05-03 17:10:00Z ggregory $
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TypeHandler

        +
        public TypeHandler()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        createValue

        +
        public static Object createValue(String str,
        +                                 Object obj)
        +                          throws ParseException
        +
        Returns the Object of type obj + with the value of str.
        +
        +
        Parameters:
        +
        str - the command line value
        +
        obj - the type of argument
        +
        Returns:
        +
        The instance of obj initialised with + the value of str.
        +
        Throws:
        +
        ParseException - if the value creation for the given object type failed
        +
        +
      • +
      + + + +
        +
      • +

        createValue

        +
        public static Object createValue(String str,
        +                                 Class<?> clazz)
        +                          throws ParseException
        +
        Returns the Object of type clazz + with the value of str.
        +
        +
        Parameters:
        +
        str - the command line value
        +
        clazz - the type of argument
        +
        Returns:
        +
        The instance of clazz initialised with + the value of str.
        +
        Throws:
        +
        ParseException - if the value creation for the given class failed
        +
        +
      • +
      + + + +
        +
      • +

        createObject

        +
        public static Object createObject(String classname)
        +                           throws ParseException
        +
        Create an Object from the classname and empty constructor.
        +
        +
        Parameters:
        +
        classname - the argument value
        +
        Returns:
        +
        the initialised object
        +
        Throws:
        +
        ParseException - if the class could not be found or the object could not be created
        +
        +
      • +
      + + + +
        +
      • +

        createNumber

        +
        public static Number createNumber(String str)
        +                           throws ParseException
        +
        Create a number from a String. If a . is present, it creates a + Double, otherwise a Long.
        +
        +
        Parameters:
        +
        str - the value
        +
        Returns:
        +
        the number represented by str
        +
        Throws:
        +
        ParseException - if str is not a number
        +
        +
      • +
      + + + +
        +
      • +

        createClass

        +
        public static Class<?> createClass(String classname)
        +                            throws ParseException
        +
        Returns the class whose name is classname.
        +
        +
        Parameters:
        +
        classname - the class name
        +
        Returns:
        +
        The class if it is found
        +
        Throws:
        +
        ParseException - if the class could not be found
        +
        +
      • +
      + + + +
        +
      • +

        createDate

        +
        public static Date createDate(String str)
        +
        Returns the date represented by str. +

        + This method is not yet implemented and always throws an + UnsupportedOperationException.

        +
        +
        Parameters:
        +
        str - the date string
        +
        Returns:
        +
        The date if str is a valid date string, + otherwise return null.
        +
        Throws:
        +
        UnsupportedOperationException - always
        +
        +
      • +
      + + + +
        +
      • +

        createURL

        +
        public static URL createURL(String str)
        +                     throws ParseException
        +
        Returns the URL represented by str.
        +
        +
        Parameters:
        +
        str - the URL string
        +
        Returns:
        +
        The URL in str is well-formed
        +
        Throws:
        +
        ParseException - if the URL in str is not well-formed
        +
        +
      • +
      + + + +
        +
      • +

        createFile

        +
        public static File createFile(String str)
        +
        Returns the File represented by str.
        +
        +
        Parameters:
        +
        str - the File location
        +
        Returns:
        +
        The file represented by str.
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/UnrecognizedOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/UnrecognizedOptionException.html new file mode 100755 index 0000000..885b5bc --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/UnrecognizedOptionException.html @@ -0,0 +1,352 @@ + + + + + + +UnrecognizedOptionException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.commons.cli
+

Class UnrecognizedOptionException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    Direct Known Subclasses:
    +
    AmbiguousOptionException
    +
    +
    +
    +
    public class UnrecognizedOptionException
    +extends ParseException
    +
    Exception thrown during parsing signalling an unrecognized + option was seen.
    +
    +
    Version:
    +
    $Id: UnrecognizedOptionException.java 1443102 2013-02-06 18:12:16Z tn $
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UnrecognizedOptionException

        +
        public UnrecognizedOptionException(String message)
        +
        Construct a new UnrecognizedArgumentException + with the specified detail message.
        +
        +
        Parameters:
        +
        message - the detail message
        +
        +
      • +
      + + + +
        +
      • +

        UnrecognizedOptionException

        +
        public UnrecognizedOptionException(String message,
        +                                   String option)
        +
        Construct a new UnrecognizedArgumentException + with the specified option and detail message.
        +
        +
        Parameters:
        +
        message - the detail message
        +
        option - the unrecognized option
        +
        Since:
        +
        1.2
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getOption

        +
        public String getOption()
        +
        Returns the unrecognized option.
        +
        +
        Returns:
        +
        the related option
        +
        Since:
        +
        1.2
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AlreadySelectedException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AlreadySelectedException.html new file mode 100755 index 0000000..ccd3bca --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AlreadySelectedException.html @@ -0,0 +1,150 @@ + + + + + + +Uses of Class org.apache.commons.cli.AlreadySelectedException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.AlreadySelectedException

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AmbiguousOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AmbiguousOptionException.html new file mode 100755 index 0000000..2953754 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AmbiguousOptionException.html @@ -0,0 +1,123 @@ + + + + + + +Uses of Class org.apache.commons.cli.AmbiguousOptionException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.AmbiguousOptionException

+
+
No usage of org.apache.commons.cli.AmbiguousOptionException
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/BasicParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/BasicParser.html new file mode 100755 index 0000000..4197c5e --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/BasicParser.html @@ -0,0 +1,123 @@ + + + + + + +Uses of Class org.apache.commons.cli.BasicParser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.BasicParser

+
+
No usage of org.apache.commons.cli.BasicParser
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.Builder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.Builder.html new file mode 100755 index 0000000..dd3f849 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.Builder.html @@ -0,0 +1,156 @@ + + + + + + +Uses of Class org.apache.commons.cli.CommandLine.Builder (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.CommandLine.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.html new file mode 100755 index 0000000..a07350a --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.html @@ -0,0 +1,252 @@ + + + + + + +Uses of Class org.apache.commons.cli.CommandLine (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.CommandLine

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLineParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLineParser.html new file mode 100755 index 0000000..dcb07c8 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLineParser.html @@ -0,0 +1,182 @@ + + + + + + +Uses of Interface org.apache.commons.cli.CommandLineParser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
org.apache.commons.cli.CommandLineParser

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/DefaultParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/DefaultParser.html new file mode 100755 index 0000000..a6ab947 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/DefaultParser.html @@ -0,0 +1,123 @@ + + + + + + +Uses of Class org.apache.commons.cli.DefaultParser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.DefaultParser

+
+
No usage of org.apache.commons.cli.DefaultParser
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/GnuParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/GnuParser.html new file mode 100755 index 0000000..c3c17b4 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/GnuParser.html @@ -0,0 +1,123 @@ + + + + + + +Uses of Class org.apache.commons.cli.GnuParser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.GnuParser

+
+
No usage of org.apache.commons.cli.GnuParser
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/HelpFormatter.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/HelpFormatter.html new file mode 100755 index 0000000..11d0c9c --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/HelpFormatter.html @@ -0,0 +1,123 @@ + + + + + + +Uses of Class org.apache.commons.cli.HelpFormatter (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.HelpFormatter

+
+
No usage of org.apache.commons.cli.HelpFormatter
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingArgumentException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingArgumentException.html new file mode 100755 index 0000000..edb6478 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingArgumentException.html @@ -0,0 +1,123 @@ + + + + + + +Uses of Class org.apache.commons.cli.MissingArgumentException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.MissingArgumentException

+
+
No usage of org.apache.commons.cli.MissingArgumentException
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingOptionException.html new file mode 100755 index 0000000..01afa04 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingOptionException.html @@ -0,0 +1,152 @@ + + + + + + +Uses of Class org.apache.commons.cli.MissingOptionException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.MissingOptionException

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.Builder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.Builder.html new file mode 100755 index 0000000..ab636e1 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.Builder.html @@ -0,0 +1,237 @@ + + + + + + +Uses of Class org.apache.commons.cli.Option.Builder (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.Option.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.html new file mode 100755 index 0000000..0254d6d --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.html @@ -0,0 +1,352 @@ + + + + + + +Uses of Class org.apache.commons.cli.Option (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.Option

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionBuilder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionBuilder.html new file mode 100755 index 0000000..7fafa66 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionBuilder.html @@ -0,0 +1,262 @@ + + + + + + +Uses of Class org.apache.commons.cli.OptionBuilder (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.OptionBuilder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionGroup.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionGroup.html new file mode 100755 index 0000000..5db4efc --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionGroup.html @@ -0,0 +1,192 @@ + + + + + + +Uses of Class org.apache.commons.cli.OptionGroup (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.OptionGroup

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Options.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Options.html new file mode 100755 index 0000000..20283f0 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Options.html @@ -0,0 +1,479 @@ + + + + + + +Uses of Class org.apache.commons.cli.Options (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.Options

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/ParseException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/ParseException.html new file mode 100755 index 0000000..16cb8e7 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/ParseException.html @@ -0,0 +1,367 @@ + + + + + + +Uses of Class org.apache.commons.cli.ParseException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.ParseException

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Parser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Parser.html new file mode 100755 index 0000000..e0082b8 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Parser.html @@ -0,0 +1,168 @@ + + + + + + +Uses of Class org.apache.commons.cli.Parser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.Parser

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PatternOptionBuilder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PatternOptionBuilder.html new file mode 100755 index 0000000..927eeb6 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PatternOptionBuilder.html @@ -0,0 +1,123 @@ + + + + + + +Uses of Class org.apache.commons.cli.PatternOptionBuilder (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.PatternOptionBuilder

+
+
No usage of org.apache.commons.cli.PatternOptionBuilder
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PosixParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PosixParser.html new file mode 100755 index 0000000..6ead563 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PosixParser.html @@ -0,0 +1,123 @@ + + + + + + +Uses of Class org.apache.commons.cli.PosixParser (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.PosixParser

+
+
No usage of org.apache.commons.cli.PosixParser
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/TypeHandler.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/TypeHandler.html new file mode 100755 index 0000000..8d9090d --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/TypeHandler.html @@ -0,0 +1,123 @@ + + + + + + +Uses of Class org.apache.commons.cli.TypeHandler (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.TypeHandler

+
+
No usage of org.apache.commons.cli.TypeHandler
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/UnrecognizedOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/UnrecognizedOptionException.html new file mode 100755 index 0000000..b3600b0 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/UnrecognizedOptionException.html @@ -0,0 +1,150 @@ + + + + + + +Uses of Class org.apache.commons.cli.UnrecognizedOptionException (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.apache.commons.cli.UnrecognizedOptionException

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-frame.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-frame.html new file mode 100755 index 0000000..24b6d66 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-frame.html @@ -0,0 +1,47 @@ + + + + + + +org.apache.commons.cli (Apache Commons CLI 1.4 API) + + + + +

org.apache.commons.cli

+
+

Interfaces

+ +

Classes

+ +

Exceptions

+ +
+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-summary.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-summary.html new file mode 100755 index 0000000..682f201 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-summary.html @@ -0,0 +1,311 @@ + + + + + + +org.apache.commons.cli (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package org.apache.commons.cli

+
+
Commons CLI 1.3
+
+

See: Description

+
+
+ + + + +

Package org.apache.commons.cli Description

+
Commons CLI 1.3
+
+
Version:
+
$Id: package-info.java 1443102 2013-02-06 18:12:16Z tn $
+
+
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-tree.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-tree.html new file mode 100755 index 0000000..e890c24 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-tree.html @@ -0,0 +1,173 @@ + + + + + + +org.apache.commons.cli Class Hierarchy (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package org.apache.commons.cli

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-use.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-use.html new file mode 100755 index 0000000..b577cfb --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-use.html @@ -0,0 +1,213 @@ + + + + + + +Uses of Package org.apache.commons.cli (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
org.apache.commons.cli

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/overview-tree.html b/libs/commons-cli-1.4/apidocs/overview-tree.html new file mode 100755 index 0000000..5fb4bb5 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/overview-tree.html @@ -0,0 +1,177 @@ + + + + + + +Class Hierarchy (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/package-list b/libs/commons-cli-1.4/apidocs/package-list new file mode 100755 index 0000000..f8b2a4d --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/package-list @@ -0,0 +1 @@ +org.apache.commons.cli diff --git a/libs/commons-cli-1.4/apidocs/script.js b/libs/commons-cli-1.4/apidocs/script.js new file mode 100755 index 0000000..b346356 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/libs/commons-cli-1.4/apidocs/serialized-form.html b/libs/commons-cli-1.4/apidocs/serialized-form.html new file mode 100755 index 0000000..f6ac00a --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/serialized-form.html @@ -0,0 +1,409 @@ + + + + + + +Serialized Form (Apache Commons CLI 1.4 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Serialized Form

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.

+ + diff --git a/libs/commons-cli-1.4/apidocs/stylesheet.css b/libs/commons-cli-1.4/apidocs/stylesheet.css new file mode 100755 index 0000000..98055b2 --- /dev/null +++ b/libs/commons-cli-1.4/apidocs/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/libs/commons-cli-1.4/commons-cli-1.4-javadoc.jar b/libs/commons-cli-1.4/commons-cli-1.4-javadoc.jar new file mode 100755 index 0000000..6b21f98 Binary files /dev/null and b/libs/commons-cli-1.4/commons-cli-1.4-javadoc.jar differ diff --git a/libs/commons-cli-1.4/commons-cli-1.4-sources.jar b/libs/commons-cli-1.4/commons-cli-1.4-sources.jar new file mode 100755 index 0000000..b747279 Binary files /dev/null and b/libs/commons-cli-1.4/commons-cli-1.4-sources.jar differ diff --git a/libs/commons-cli-1.4/commons-cli-1.4-test-sources.jar b/libs/commons-cli-1.4/commons-cli-1.4-test-sources.jar new file mode 100755 index 0000000..e52559d Binary files /dev/null and b/libs/commons-cli-1.4/commons-cli-1.4-test-sources.jar differ diff --git a/libs/commons-cli-1.4/commons-cli-1.4-tests.jar b/libs/commons-cli-1.4/commons-cli-1.4-tests.jar new file mode 100755 index 0000000..f792a02 Binary files /dev/null and b/libs/commons-cli-1.4/commons-cli-1.4-tests.jar differ diff --git a/libs/commons-cli-1.4/commons-cli-1.4.jar b/libs/commons-cli-1.4/commons-cli-1.4.jar new file mode 100755 index 0000000..22deb30 Binary files /dev/null and b/libs/commons-cli-1.4/commons-cli-1.4.jar differ diff --git a/libs/ithakimodem.jar b/libs/ithakimodem.jar new file mode 100755 index 0000000..4229d48 Binary files /dev/null and b/libs/ithakimodem.jar differ diff --git a/src/net/hoo2/auth/vmodem/Com.java b/src/net/hoo2/auth/vmodem/Com.java new file mode 100755 index 0000000..0a626d4 --- /dev/null +++ b/src/net/hoo2/auth/vmodem/Com.java @@ -0,0 +1,113 @@ +package net.hoo2.auth.vmodem; + +import ithakimodem.*; + +class Com { + static final int SPEED_DEFAULT = 9600; + static final int TIMEOUT_DEFAULT = 2000; + static final String URL_DEFAULT = "ithaki"; + + Com () { + modem_ = new Modem(); + speed_ = SPEED_DEFAULT; + timeout_ = TIMEOUT_DEFAULT; + modem_.setSpeed(speed_); + modem_.setTimeout(timeout_); + } + Com (int speed, int timeout) { + modem_ = new Modem(); + speed_ = speed; + timeout_ = timeout; + modem_.setSpeed(speed_); + modem_.setTimeout(timeout_); + } + + // get/set + int timeout () { return timeout_; } + void timeout (int t) { + timeout_ = t; + modem_.setTimeout(timeout_); + } + + int speed () { return speed_; } + void speed (int speed) { + speed_ = speed; + modem_.setSpeed(speed_); + } + + + boolean open (String url) { return modem_.open(url); } + boolean open () { return modem_.open(URL_DEFAULT); } + boolean close() { return modem_.close(); } + + + Transaction request (Transaction data, boolean ask, byte[] delimiter) { + int ch =0; + int i =0; + + _clear (data.response); + if (ask) { + modem_.write(data.code); + modem_.write((int)'\r'); + data.departure = System.currentTimeMillis() - (long)((8*(data.code.length+1))*(1000.0/speed_)); + } + do { + try { + ch = modem_.read(); + } + catch (Exception e) { + System.out.println (e.getMessage()); + } + if (i == 0) + data.arrival = System.currentTimeMillis() - (long)(8*(1000.0/speed_)); + data.response [i++] = (byte)ch; + } while (!_detect (data.response, "\r\n\n\n".getBytes()) + && !_detect (data.response, "NO CARRIER".getBytes()) + && !_detect (data.response, delimiter) + && ch != -1); + + return data; + } + + private boolean _detect (byte[] response, byte[] pattern) { + if (pattern != null) { + for (int i =0 ; i