Archive

Posts Tagged ‘Java’

[Java] Url to IP converter

September 21st, 2009
214 views No comments
/*--------------------------------------------------------------------------
UrlToIP.java
 *****************
By: HappyFace  http://www.engineeringserver.com
Contact:    info [@] engineeringserver.com
Version:    05/may/2009
"*****************
Note: shows the IP address that belong to the domain name
//----------------------------------------------------------------------*/

import java.net.InetAddress;
import java.net.UnknownHostException;

public class UrlToIP {
   public static void main(String[] args){
      String hostName ="www.retardedweblogger.com";
      try {
         System.out.println("Url:   " + InetAddress.getByName(hostName).getHostName());
         System.out.println("IP: " + InetAddress.getByName(hostName).getHostAddress());
      } catch (UnknownHostException e) {
         e.printStackTrace();
      }
   }
}

Arkie Code and Stuff

TopicList Board Generator a plugin for SMF

September 21st, 2009
556 views No comments

An application I wrote some time ago that generates the TopicList board for the TopicList Board generator by T@by

Just specifiy which board(s) you want to include in the index and the application will generate the code that you can copy & paste on your forums to make it work, easy as that.

If you found any errors in the application or want to request a new feature just let me know and i’ll see what i can do.

Demo
http://www.javaforums.net/forum/javaforumsnet/index_the_big_java_index-t3468.0.html

Screenshot

Download link
http://www.javaforums.net/Topics list generator1.1.jar

Arkie Code and Stuff, Everything else, Mini tools , ,