Hello, I want to run a program I've created in every 24hrs.
So if any of you have an idea let me know, cause I don't that much about the Timer class.
And all my methods for my program are been called from the main method so I'm thinking or creating something like another main method to call on...
Sorry I forgot to include the code I'm using to read in the page.
import java.net.*;
import java.io.*;
public class URLReader
{
public static void main(String[] args)throws Exception
{
String input;
String res;
int count=0;
URL carleton = new...
If you have an idea or an easier way of doing this please let me know. I'm trying to parse through the following html page, what I want to do is save each row of the table that has <tr> tag into a file, then print the next row starting with <tr> on the next line and so on till it reaches the...
I'm able to read in an HTML page but having trouble in deciding how to parse through a page of HTML tags to get the info. I need.
This is the code I used to read in the HTML PAGE. All I need from this page is the countries and their currencies to put them in a table format.
import java.net.*...
I need to read a currency table from a specific website and save it to my working directory. My problem is that I don't know how to start, in reading in a specific item from a website using javas FileReading?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.