Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <font color='white'><p>Current Version: 1.0</font>
- private void getVersion() {
- try {
- source = getUrlSource(url);
- } catch (IOException e) {
- e.printStackTrace();
- }
- String[] v = source.split("<font color='white'><p>Current Version: ");
- String v2 = v[1];
- v2 = v2.replace("</font></html>", "");
- System.out.println(v2);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement