return "http://" + inetAddress.getHostAddress() + ":" + iDstPort + strURLComplete;\r
\r
}\r
+ \r
+ /**\r
+ * getURL() method\r
+ *\r
+ * @return String\r
+ */\r
+ public String getURL(String strURLComplete, String strUser, String strPassword) {\r
+\r
+ //e.g. http:// + inetAddress.getHostAddress() + strURLComplete\r
+ // http://192.168.2.254/cgi-bin/mjpg/video.cgi?\r
+ return "http://" + strUser + ":" + strPassword + "@" + inetAddress.getHostAddress() + ":" + iDstPort + strURLComplete;\r
+\r
+ }\r
}\r