Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
D
E
F
G
H
I
M
R
S
T
U
V
A
addChars(int)
- Method in class
UrlTreeNode
Increments character count
addImages(int)
- Method in class
UrlTreeNode
Increments image count
addLinks(int)
- Method in class
UrlTreeNode
Increments link count
D
depthLimitExceeded(DefaultMutableTreeNode)
- Method in class
Spider
Check depth of search
E
equals(String)
- Method in class
UrlTreeNode
test for equality
F
fixHref(String)
- Static method in class
Spider
repairs a sloppy href, flips backwards /, adds missing /
G
getBase()
- Method in class
UrlTreeNode
returns base url
getKeywords()
- Method in class
UrlTreeNode
get the keywords found in this node
getNodeStats()
- Method in class
UrlTreeNode
retrieves character, link, and image count as a displayable string
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean)
- Method in class
UrlNodeRenderer
Sets the value of the current tree cell to value.
getUrl()
- Method in class
UrlTreeNode
returns the url object for this node or null if it is a text node
getUrlString()
- Method in class
UrlTreeNode
retrieves the url as a string
H
handleEndTag(HTML.Tag, int)
- Method in class
Spider.SpiderParserCallback
take care of start tags
handleSimpleTag(HTML.Tag, MutableAttributeSet, int)
- Method in class
Spider.SpiderParserCallback
handle HTML tags that don't have a start and end tag
handleStartTag(HTML.Tag, MutableAttributeSet, int)
- Method in class
Spider.SpiderParserCallback
take care of start tags
handleText(char[], int)
- Method in class
Spider.SpiderParserCallback
take care of text between tags, check against keyword list for matches, if match found, set the node match status to true
I
IntegerVerifier
- class
IntegerVerifier
.
Input Verifier to verifier integer text fields Checks for valid integer input, and to see if the number is between a specified max and min value.
IntegerVerifier(VerifierListener, boolean, int, int)
- Constructor for class
IntegerVerifier
Creates a new instance of IntegerVerifier
icon
- Static variable in class
UrlNodeRenderer
icon used to display on the search tree
invalidData(String, JComponent)
- Method in class
SpiderControl
Verifier listener routine used to report bad data
invalidData(String, JComponent)
- Method in interface
VerifierListener
method called when a verifier detects bad data
isMatch()
- Method in class
UrlTreeNode
return state of node
M
main(String[])
- Static method in class
SpiderControl
Main method.
R
run()
- Method in class
Spider
start running the search in a new thread
S
Spider
- class
Spider
.
Object used to search the web (or a subset of given domains) for a list of keywords
Spider(JTree, JTextArea, JLabel, String, String[], String[], int, int)
- Constructor for class
Spider
Creates a new instance of Spider
Spider.SpiderParserCallback
- class
Spider.SpiderParserCallback
.
Inner class used to html handle parser callbacks
Spider.SpiderParserCallback(DefaultMutableTreeNode)
- Constructor for class
Spider.SpiderParserCallback
Creates a new instance of SpiderParserCallback
SpiderControl
- class
SpiderControl
.
User interface to conduct web searches with the Spider object
SpiderControl()
- Constructor for class
SpiderControl
Creates new form SpiderControl
searchWeb(DefaultMutableTreeNode, String)
- Method in class
Spider
recursive routine to search the web
setBase(String)
- Method in class
UrlTreeNode
sets the base location for the node, called in response to finding a base tag in the web page
setMatch(String)
- Method in class
UrlTreeNode
returns whether or not this node contains a match for the spiders search criteria
setTitle(String)
- Method in class
UrlTreeNode
sets the title attribute of the node
stopSearch()
- Method in class
Spider
Stops the search.
T
toString()
- Method in class
UrlTreeNode
return url string for display on screen
U
UrlNodeRenderer
- class
UrlNodeRenderer
.
Custom tree node renderer.
UrlNodeRenderer()
- Constructor for class
UrlNodeRenderer
Creates a new instance of UrlNodeRenderer
UrlTreeNode
- class
UrlTreeNode
.
Class used to hold information about a web site that has been searched by the spider class
UrlTreeNode(URL)
- Constructor for class
UrlTreeNode
Creates a new instance of UrlTreeNode
UrlTreeNode(String)
- Constructor for class
UrlTreeNode
Creates a new instance of UrlTreeNode
urlHasBeenVisited(String)
- Method in class
Spider
search the url search tree to see if we've already visited the specified url
V
VerifierListener
- interface
VerifierListener
.
Inteface used for a verifier to report bad data back to the owning frame.
validData(JComponent)
- Method in class
SpiderControl
Verifier listener routine used to report good data
validData(JComponent)
- Method in interface
VerifierListener
method called when a verifier detects good data
verify(JComponent)
- Method in class
IntegerVerifier
Verifies contents of the specified component
A
D
E
F
G
H
I
M
R
S
T
U
V
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes