|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectWebPageWriter
public class WebPageWriter
Class used to write web (HTML) pages
Constructor Summary | |
---|---|
WebPageWriter()
|
Method Summary | |
---|---|
void |
createImagePage(String directory)
Method to create a page with thumbnails of all the images in a directory |
void |
createSoundPage(String directory)
Method to create a page with links to the sound files in the passed directory |
static void |
main(String[] args)
|
void |
writeExamplePage(String fileName)
Method to write an example web (HTML) page |
void |
writeHomepage(String name,
String interests)
Method that will write out a homepage for a person with the passed name |
void |
writeHomepageV2(String name,
String interests)
Method for writing a homepage for the passed name |
void |
writeHomepageV3(String name,
String interests)
Method for writing a homepage for the passed name that displays the current weather |
void |
writeHomepageV4(String name,
String interests)
Method for writing a homepage for the passed name that displays the current weather and a random sentence |
void |
writeHomepageV5(String name,
String interests)
Method for writing a homepage for the passed first name that displays her/his interests and age |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebPageWriter()
Method Detail |
---|
public void writeExamplePage(String fileName)
fileName
- the file to write topublic void writeHomepage(String name, String interests)
name
- the name of the person that this homepage
is forinterests
- a list of the person's interestspublic void writeHomepageV2(String name, String interests)
name
- the person's nameinterests
- a list of the person's interestspublic void createImagePage(String directory)
directory
- the directory to create the page forpublic void createSoundPage(String directory)
directory
- the directory to create the page forpublic void writeHomepageV3(String name, String interests)
name
- the person's nameinterests
- a list of the person's interestspublic void writeHomepageV4(String name, String interests)
name
- the person's nameinterests
- a list of the person's interestspublic void writeHomepageV5(String name, String interests)
name
- the person's first nameinterests
- a list of the person's interestspublic static void main(String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |