A D F G H M N O P R S U V

A

actionPerformed(ActionEvent) - Method in class com.faa.dom.tutorial.DOMCrawlerFrame_AboutBox
 
addObserver(Observer) - Method in class com.faa.dom.tutorial.DOMImageCrawler
Add an observer
addObserver(Observer) - Method in interface com.faa.patterns.Observer.Observable
add an observer

D

DOMCrawler - class com.faa.dom.tutorial.DOMCrawler.
 
DOMCrawler() - Constructor for class com.faa.dom.tutorial.DOMCrawler
 
DOMCrawlerFrame - class com.faa.dom.tutorial.DOMCrawlerFrame.
 
DOMCrawlerFrame_AboutBox - class com.faa.dom.tutorial.DOMCrawlerFrame_AboutBox.
 
DOMCrawlerFrame_AboutBox(Frame) - Constructor for class com.faa.dom.tutorial.DOMCrawlerFrame_AboutBox
 
DOMCrawlerFrame() - Constructor for class com.faa.dom.tutorial.DOMCrawlerFrame
 
DOMImageCrawler - class com.faa.dom.tutorial.DOMImageCrawler.
A DOM Visitor that takes all the images that match a particular keyword, and saves them to disk.
DOMImageCrawler(int, String, Vector, String) - Constructor for class com.faa.dom.tutorial.DOMImageCrawler
Construct a new DOMImageCrawler, starting with the given parameters.
DOMParserWrapper - interface com.faa.dom.tutorial.DOMParserWrapper.
Encapsulates a DOM parser.

F

fileExit_actionPerformed(ActionEvent) - Method in class com.faa.dom.tutorial.DOMCrawlerFrame
 

G

getCurrentDocument() - Method in class com.faa.dom.tutorial.DOMImageCrawler
 
getCurrentLevel() - Method in class com.faa.dom.tutorial.DOMImageCrawler
 
getLoadedImagesCount() - Method in class com.faa.dom.tutorial.DOMImageCrawler
 
getToVisit() - Method in class com.faa.dom.tutorial.DOMImageCrawler
 
getVisited() - Method in class com.faa.dom.tutorial.DOMImageCrawler
 

H

helpAbout_actionPerformed(ActionEvent) - Method in class com.faa.dom.tutorial.DOMCrawlerFrame
 

M

main(String[]) - Static method in class com.faa.dom.tutorial.DOMCrawler
 

N

notify(Observable) - Method in class com.faa.dom.tutorial.DOMCrawlerFrame
 
notify(Observable) - Method in interface com.faa.patterns.Observer.Observer
receive notification of change from an observed object This is done in order to allow more than one observable object to be watched by the observer

O

Observable - interface com.faa.patterns.Observer.Observable.
An implementation of the ObservableIF [GoF95] part of the observer pattern in Java
Observer - interface com.faa.patterns.Observer.Observer.
An implementation of the ObservableIF [GoF95] part of the observer pattern in Java

P

parse(String) - Method in interface com.faa.dom.tutorial.DOMParserWrapper
Parses the specified URI and returns the document.
processWindowEvent(WindowEvent) - Method in class com.faa.dom.tutorial.DOMCrawlerFrame
 
processWindowEvent(WindowEvent) - Method in class com.faa.dom.tutorial.DOMCrawlerFrame_AboutBox
 

R

removeObserver(Observer) - Method in class com.faa.dom.tutorial.DOMImageCrawler
Remove an object from the list of of observers (if it is not there, do nothing)
removeObserver(Observer) - Method in interface com.faa.patterns.Observer.Observable
remove an object from the list of of observers (if it is not there, do nothing)
run() - Method in class com.faa.dom.tutorial.DOMImageCrawler
Iterate through the nodes to visit, passing each new document to the visitor method, so it can be scanned
run() - Method in class com.faa.dom.tutorial.URLSaver
 

S

saveImage(Element) - Method in class com.faa.dom.tutorial.DOMImageCrawler
Extract the name of the image from the DOM Node and save it to disk
saveURL(String) - Method in class com.faa.dom.tutorial.URLSaver
save url using the name of the file on the url and the default directory
saveURLAs(String, String) - Method in class com.faa.dom.tutorial.URLSaver
Save the given URL to a file, using a particular filename.
setDepth(int) - Method in class com.faa.dom.tutorial.DOMImageCrawler
 
setKeywords(Vector) - Method in class com.faa.dom.tutorial.DOMImageCrawler
 

U

URLSaver - class com.faa.dom.tutorial.URLSaver.
This class saves the contents of a given URL to a local disk
URLSaver(String, String) - Constructor for class com.faa.dom.tutorial.URLSaver
A Constructor that sets the base URL and Base directories.

V

visitNode(Node) - Method in class com.faa.dom.tutorial.DOMImageCrawler
Visit the tree, watching for image nodes with the appropriate keywords.

A D F G H M N O P R S U V