Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.ematgine.utils.parser.html
Class myurls  view myurls download myurls.java

java.lang.Object
  extended byorg.ematgine.utils.parser.html.myurls

public class myurls
extends java.lang.Object

Description of the Class


Field Summary
(package private)  int champ
          Description of the Field
(package private)  boolean file_name
          Description of the Field
(package private)  int FTPPort
          defined FTP port in case of FTP URL
(package private)  java.lang.String globalURL
          Description of the Field
(package private)  java.lang.String[] local_directory
          Description of the Field
(package private)  java.lang.String protocol
          Description of the Field
 
Constructor Summary
myurls(java.lang.String url)
          Constructor for the myurls object
 
Method Summary
private  void affichage_essai(myurls myinstance)
          Description of the Method
 java.lang.String connect_and_get_content_type()
          Description of the Method
 boolean connect_and_verify_url(myurls my_url)
          Description of the Method
 void display_information()
          Description of the Method
 int get_champ()
          Description of the Method
 boolean get_file_name()
          Description of the Method
 java.lang.String get_local_directory(int nb)
          Description of the Method
 java.lang.String get_protocol()
          Description of the Method
 java.lang.String getFTPFilename()
           
 int getFTPPort()
           
 java.lang.String getFTPURL()
           
 java.lang.String getFTPWorkingDirectory()
           
 java.lang.String getGlobalURL()
          Gets the globalURL attribute of the myurls object
 boolean isIntranetAddress()
          return true if URL points to an intranet address false otherwise from RFC 1918 10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) 0000 0010 xxxx xxxx xxxx xxxx xxxx xxxx 1010 1100 0001 xxxx xxxx xxxx xxxx xxxx 1100 0000 1010 1000 xxxx xxxx xxxx xxxx
static void main(java.lang.String[] args)
          The main program for the myurls class
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

globalURL

java.lang.String globalURL
Description of the Field


champ

int champ
Description of the Field


file_name

boolean file_name
Description of the Field


protocol

java.lang.String protocol
Description of the Field


local_directory

java.lang.String[] local_directory
Description of the Field


FTPPort

int FTPPort
defined FTP port in case of FTP URL

Constructor Detail

myurls

public myurls(java.lang.String url)
Constructor for the myurls object

Method Detail

main

public static void main(java.lang.String[] args)
The main program for the myurls class


affichage_essai

private void affichage_essai(myurls myinstance)
Description of the Method


toString

public java.lang.String toString()
Description of the Method


display_information

public void display_information()
Description of the Method


connect_and_verify_url

public boolean connect_and_verify_url(myurls my_url)
                               throws java.lang.Exception
Description of the Method


connect_and_get_content_type

public java.lang.String connect_and_get_content_type()
                                              throws java.lang.Exception
Description of the Method


getGlobalURL

public java.lang.String getGlobalURL()
Gets the globalURL attribute of the myurls object


get_champ

public int get_champ()
Description of the Method


get_file_name

public boolean get_file_name()
Description of the Method


get_protocol

public java.lang.String get_protocol()
Description of the Method


get_local_directory

public java.lang.String get_local_directory(int nb)
Description of the Method


getFTPFilename

public java.lang.String getFTPFilename()

getFTPURL

public java.lang.String getFTPURL()

getFTPPort

public int getFTPPort()

getFTPWorkingDirectory

public java.lang.String getFTPWorkingDirectory()

isIntranetAddress

public boolean isIntranetAddress()
return true if URL points to an intranet address false otherwise from RFC 1918 10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) 0000 0010 xxxx xxxx xxxx xxxx xxxx xxxx 1010 1100 0001 xxxx xxxx xxxx xxxx xxxx 1100 0000 1010 1000 xxxx xxxx xxxx xxxx