tr.linkchecker.url
Class CUrlObj

java.lang.Object
  extended bytr.linkchecker.url.CUrlObj

public class CUrlObj
extends java.lang.Object

The object in which the url's saved.

Date: 29.10.2004

Version:
1.0
Author:
Tobias Roessler, Ralf Schmitt

Constructor Summary
CUrlObj()
          Default-Constructor
CUrlObj(java.lang.String url, int row, int filenr)
          Contructor that saves the url, the row and the filenr
CUrlObj(java.net.URL url, int row, int filenr)
          Contructor that saves the url, the row and the filenr
 
Method Summary
 int getFileNr()
           
 int getRow()
           
 java.net.URL getUrl()
           
 boolean isConnected()
           
 void setConnected(boolean connected)
          Method to set the connection-status
 void setFileNr(int filenr)
          Method to set the filenumber
 void setRow(int row)
          Method to set the row
 void setUrl(java.net.URL url)
          Method to set the url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CUrlObj

public CUrlObj()
Default-Constructor


CUrlObj

public CUrlObj(java.lang.String url,
               int row,
               int filenr)
        throws java.net.MalformedURLException
Contructor that saves the url, the row and the filenr

Parameters:
url - The url as "String"
row - The row in which the url founded
filenr - The file in which the url founded
Throws:
java.net.MalformedURLException - Throws a "MalformedURLException"

CUrlObj

public CUrlObj(java.net.URL url,
               int row,
               int filenr)
Contructor that saves the url, the row and the filenr

Parameters:
url - The url as "URL"
row - The row in which the url founded
filenr - The file in which the url founded
Method Detail

setUrl

public void setUrl(java.net.URL url)
Method to set the url

Parameters:
url - The url that we want to set

setRow

public void setRow(int row)
Method to set the row

Parameters:
row - The row that we want to set

setFileNr

public void setFileNr(int filenr)
Method to set the filenumber

Parameters:
filenr - The filenumber that we want to set

setConnected

public void setConnected(boolean connected)
Method to set the connection-status


getUrl

public java.net.URL getUrl()
Returns:
mUrl Returns the saved url

getRow

public int getRow()
Returns:
mRow Returns the saved row

getFileNr

public int getFileNr()
Returns:
mFileNr Returns the saved filenumber

isConnected

public boolean isConnected()
Returns:
Returns the saved connection-status