-Dhttp.proxyHost=hostname -Dhttp.proxyPort=portnumber
Friday, July 15, 2005
Friday, July 08, 2005
Using java.net.URL ftp facilities
This will open a connection to a directory and try to get the files list. Not tested yet, though.
final URL url = new URL("ftp://username:password@localhost/TEST;type=D");
final URLConnection connection = url.openConnection();
InputStream is = null;
try {
is = connection.getInputStream();
} catch(FileNotFoundException e) {
e.printStackTrace();
} finally {
if(is != null)
is.close();
}
Thursday, July 07, 2005
Google Currency conversion
Now you can check the conversion ratio between currencies over the world. Let's get the common USD to ARS.
Subscribe to:
Posts (Atom)