|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nexwave.nquindexer.WriteJSFiles
public class WriteJSFiles
Outputs the js files with: - the list of html files and their description - the words retrieved from the html files and their location
Constructor Summary | |
---|---|
WriteJSFiles()
|
Method Summary | |
---|---|
static void |
WriteHTMLInfoList(String fileO,
ArrayList<DocFileInfo> list)
Create a javascript array listing the html files with their paths relative to project root, their titles and shortdescs |
static void |
WriteHTMLList(String fileO,
ArrayList<String> list)
Create a javascript array listing the html files with their paths relative to the project root |
static void |
WriteIndex(String fileOutStr,
Map<String,?> indexMap)
Create javascript index files alphabetically. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriteJSFiles()
Method Detail |
---|
public static void WriteHTMLList(String fileO, ArrayList<String> list)
fileO
- path and name of the file in which to output the list of html fileslist
- of the html files, relative to the doc root directorypublic static void WriteHTMLInfoList(String fileO, ArrayList<DocFileInfo> list)
fileO
- path and name of the file in which to output the list of html fileslist
- of the html files, relative to the doc root directorypublic static void WriteIndex(String fileOutStr, Map<String,?> indexMap)
fileOutStr
- contains the path and the suffix of the index files to create.
The first letter of the key is added to the given suffix. For example: e.g. a.js, b.js etc...indexMap
- its keys are the indexed words and
its values are the list of the files which contain the word.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |