C D E F G H I M O P R S T U W

C

CATALINA_HOME - Variable in class org.greenstone.fedora.installer.GSearchInstaller
 
copyPropFile(Properties, String, File) - Method in class org.greenstone.fedora.installer.GSearchInstaller
Stores the given properties in the file outputPath/propFileName.
copyTemplateFile(String, File, boolean) - Method in class org.greenstone.fedora.installer.GSearchInstaller
Copies internal template src file (in executable jar) to dest file.
createLuceneIndexDir() - Method in class org.greenstone.fedora.installer.GSearchInstaller
Creates the Lucene index directory in the right location inside FEDORA_HOME into which FedoraGSearch will store the indexes for the Greenstone contents in the Fedora repository.
customiseFedoraConfigFile() - Method in class org.greenstone.fedora.installer.GSearchInstaller
Makes changes to the fedora.fcfg file located inside FEDORA_HOME.
customiseProperties(String, boolean) - Method in class org.greenstone.fedora.installer.GSearchInstaller
Loads properties from the property file denoted by propFileName and replaces all place-holders (such as FEDORA_HOME, CATALINA_HOME, HOST, PORT) with the custom values specified for this installation.

D

defaults - Static variable in class org.greenstone.fedora.installer.GSearchInstaller
Default initialisation/customisation values.

E

elementToFormattedString(Element, String) - Static method in class org.greenstone.fedora.installer.GSearchInstaller
Given an Element, this will return its String representation properly indented for display.

F

FEDORA_HOME - Variable in class org.greenstone.fedora.installer.GSearchInstaller
 
FEDORAGSEARCH - Static variable in class org.greenstone.fedora.installer.GSearchInstaller
 
fedoraPassword - Variable in class org.greenstone.fedora.installer.GSearchInstaller
 
fedoraUsername - Variable in class org.greenstone.fedora.installer.GSearchInstaller
 

G

getSafeValue(JTextField, String) - Static method in class org.greenstone.fedora.installer.GSearchInstaller
This method returns the value of the textfield for the given GSearchInstaller initialiser property, if this is not the empty string.
getValue(Element) - Static method in class org.greenstone.fedora.installer.GSearchInstaller
Extract the text from an element, if any.
GSearchInstaller - Class in org.greenstone.fedora.installer
This class essentially follows the instructions at http://drama.ramp.org.au/cgi-bin/trac.cgi/wiki/InstallingFedoraGSearch in order to install Fedora Generic Search from their optimised fedoragsearch.war file.
GSearchInstaller() - Constructor for class org.greenstone.fedora.installer.GSearchInstaller
GSearchInstaller constructor sets all custom values to defaults
GSearchInstaller(Properties) - Constructor for class org.greenstone.fedora.installer.GSearchInstaller
GSearchInstaller constructor sets the custom values
GSearchInstaller.IgnoreDTDEntityResolver - Class in org.greenstone.fedora.installer
This EntityResolver allows the XML parser to ignore validating against the DTD specified in the XML since it is pointing to the wrong location.
GSearchInstaller.IgnoreDTDEntityResolver(String) - Constructor for class org.greenstone.fedora.installer.GSearchInstaller.IgnoreDTDEntityResolver
Constructor that 'resolves' (by ignoring) DTDs for the given systemID.
gSearchProperties - Variable in class org.greenstone.fedora.installer.GSearchInstaller
Reads from gsearch.properties file which contains default directory paths (using variables like FEDORA_HOME and CATALINA_HOME) and HOST and PORT, and sets these to custom values.
gsearchWarFileName - Variable in class org.greenstone.fedora.installer.GSearchInstaller
 

H

host - Variable in class org.greenstone.fedora.installer.GSearchInstaller
 

I

indexGreenstoneContents(boolean) - Method in class org.greenstone.fedora.installer.GSearchInstaller
Indexes the contents of the repository(name) specified during Fedora Generic Search installation.
indexName - Variable in class org.greenstone.fedora.installer.GSearchInstaller
 
info() - Static method in class org.greenstone.fedora.installer.GSearchInstaller
 
install() - Method in class org.greenstone.fedora.installer.GSearchInstaller
 

M

main(String[]) - Static method in class org.greenstone.fedora.installer.GSearchInstaller
The main method creates a GSearchInstaller to install Fedora Generic Search from a (Muradora) fedoragsearch.war file.
moveUnpackWarFile(File) - Method in class org.greenstone.fedora.installer.GSearchInstaller
Moves the (fedoragsearch.war) war file from the given location into FEDORA_HOME's tomcat folder (i.e.

O

org.greenstone.fedora.installer - package org.greenstone.fedora.installer
 

P

parseInstallationArgs(String[]) - Static method in class org.greenstone.fedora.installer.GSearchInstaller
Called to process multiple command line arguments where these arguments are GSearchInstaller constructor options followed by their values.
port - Variable in class org.greenstone.fedora.installer.GSearchInstaller
 
PROP_FILE - Static variable in class org.greenstone.fedora.installer.GSearchInstaller
 
PROP_HOST - Static variable in class org.greenstone.fedora.installer.GSearchInstaller
 
PROP_INDEX - Static variable in class org.greenstone.fedora.installer.GSearchInstaller
 
PROP_PASSW - Static variable in class org.greenstone.fedora.installer.GSearchInstaller
 
PROP_PORT - Static variable in class org.greenstone.fedora.installer.GSearchInstaller
 
PROP_REPOS - Static variable in class org.greenstone.fedora.installer.GSearchInstaller
 
PROP_UNAME - Static variable in class org.greenstone.fedora.installer.GSearchInstaller
 

R

readXML(Object, String, String) - Method in class org.greenstone.fedora.installer.GSearchInstaller
Reads from an xmlFile.
replaceDir(String, String, String) - Method in class org.greenstone.fedora.installer.GSearchInstaller
Method that renames folder src in outputPath to dest.
replaceElementWithAttrValue(Document, String, String, String, String, boolean, boolean) - Method in class org.greenstone.fedora.installer.GSearchInstaller
Given a DOM document, finds the first element where nodeName=tagName where one of the attributes has the name attrName and whose value contains attrValueContent.
replaceElementWithValue(Document, String, String, String, boolean, boolean) - Method in class org.greenstone.fedora.installer.GSearchInstaller
Given a DOM document, finds the first element where nodeName=tagName and where the element's inner text contains the string contentValue.
repositoryName - Variable in class org.greenstone.fedora.installer.GSearchInstaller
 
resolveEntity(String, String) - Method in class org.greenstone.fedora.installer.GSearchInstaller.IgnoreDTDEntityResolver
If the systemId matches the one this IgnoreDTDEntityResolver was created for, then the specified DTD is skipped.
runProcess(String[], boolean) - Method in class org.greenstone.fedora.installer.GSearchInstaller
Method that will run the process associated with the gSearchProperties key.

S

scriptExtension - Variable in class org.greenstone.fedora.installer.GSearchInstaller
 
showInputDialog() - Static method in class org.greenstone.fedora.installer.GSearchInstaller
Displays a dialog to get user input for - fedora server host, port, username and password, - the names for the fedora generic search index and repository that are to be created, and - for the location of fedoragenericsearch.war (the installer is meant to work specifically with Muradora's fedoragenericsearch.war since they have edited various property and xml files to make it all easier).
systemID - Variable in class org.greenstone.fedora.installer.GSearchInstaller.IgnoreDTDEntityResolver
 

T

TOMCAT - Static variable in class org.greenstone.fedora.installer.GSearchInstaller
 

U

usage() - Static method in class org.greenstone.fedora.installer.GSearchInstaller
If the program is run from the command line and the user executed it with -help or help, then this usage String is displayed.

W

waitForFedoraServer() - Method in class org.greenstone.fedora.installer.GSearchInstaller
Waits for the fedora server to be ready after a server start.
waitForServerToStop() - Method in class org.greenstone.fedora.installer.GSearchInstaller
Waits for the fedora server to stop
writeXML(Document, File, String) - Method in class org.greenstone.fedora.installer.GSearchInstaller
Writes out a DOM structure to a file.

C D E F G H I M O P R S T U W