|
|
Now this is not working - it gives me an arrayOutOfBounds exception:
It is designed to rip the link out from a sentince.Code:public String linkFromLine(int line, String url) throws IOException { String k = getLine(url, line); String[] l = k.split("href.."); System.out.println("TRUE"); String i = l[1]; String[] p = i.split(".>.*td."); return p[0]; }
Anyone?
EDIT: Never mind, I rewrote it and it works perfectly.
| « SCJP 6 Book | [GM] Oldschool Demo Effects » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |