Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. How to get all url of a website

How to get all url of a website

Scheduled Pinned Locked Moved Java
javatutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sharkbc
    wrote on last edited by
    #1

    Hi everybody ! How can i get all url of a site(the input parameter is domain name) using Java. Thanks !

    N 1 Reply Last reply
    0
    • S sharkbc

      Hi everybody ! How can i get all url of a site(the input parameter is domain name) using Java. Thanks !

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      Here, I've started it for you:

      /**
      * Example java program
      * Changelog:
      * 4/25/2008
      * -Original post by SpacixOne
      * 4/30/2008
      * -Updated Exception handler from Greeeg's suggestion.
      * -Changed to more appropriate namespace
      * 11/2/2009
      * - Ported original code from C# to java
      */

      package NeedsCode;

      /**
      * Example java program
      * @author anon
      */
      public class Main {

      /\*\*
       \* Main entry point for program.
       \* @param args the command line arguments
       \*/
      public static void main(String\[\] args) {
          throw new UnsupportedOperationException(
                  "The program code needs to be implemented.");
      }
      

      }


      Panic, Chaos, Destruction. My work here is done.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups