Packages
A B C D E F G H I J K L M N O P Q R S T U V W X
A
- accept(File, String) -
Method in class com.autonomy.utilities.WildFilter
- Implementation of the accept method specified by FilenameFilter
- acHexDigits -
Static variable in class com.autonomy.utilities.NumberUtils
-
- ACI_COM_COMMAND -
Static variable in class com.autonomy.client.aciObject
- Specifies the action parameter of a command type aciObject
- ACI_COM_INDEX_DATA -
Static variable in class com.autonomy.client.aciObject
- Specifies the index data parameter of a command type aciObject
- ACI_COM_METHOD -
Static variable in class com.autonomy.client.aciObject
- Deprecated. Use ACI_COM_USE_POST instead.
- ACI_COM_USE_MULTIPART -
Static variable in class com.autonomy.client.aciObject
- Specifies the use multipart parameter of a command type aciObject
- ACI_COM_USE_POST -
Static variable in class com.autonomy.client.aciObject
- Specifies the HTTP method parameter of a command type aciObject
- ACI_COMMAND -
Static variable in class com.autonomy.client.aciObject
- Specifies a command type aciObject.
- ACI_CONN_RECVENCODING -
Static variable in class com.autonomy.client.aciObject
- Specifies the recieving character encoding parameter of a connection type aciObject
- ACI_CONN_RETRIES -
Static variable in class com.autonomy.client.aciObject
- Specifies the number of retries parameter of a connection type aciObject
- ACI_CONN_SENDENCODING -
Static variable in class com.autonomy.client.aciObject
- Specifies the sending character encoding parameter of a connection type aciObject
- ACI_CONN_TIMEOUT -
Static variable in class com.autonomy.client.aciObject
- Specifies the timeout parameter of a connection type aciObject
- ACI_CONNECTION -
Static variable in class com.autonomy.client.aciObject
- Specifies a connection type aciObject.
- ACI_DATA -
Static variable in class com.autonomy.client.aciObject
- Specifies a data type aciObject.
- ACI_DATA_DATA -
Static variable in class com.autonomy.client.aciObject
- Specifies the xml buffer parameter of a data type aciObject.
- ACI_DATA_NODE_NAME -
Static variable in class com.autonomy.client.aciObject
- Specifies the node (xml tag or element) name parameter of a data type aciObject
- ACI_DATA_NODE_VALUE -
Static variable in class com.autonomy.client.aciObject
- Specifies the node (xml tag or element) value parameter of a data type aciObject
- ACI_HOSTNAME -
Static variable in class com.autonomy.client.aciObject
- Specifies the hostname parameter of a connection type aciObject
- ACI_PORTNUMBER -
Static variable in class com.autonomy.client.aciObject
- Specifies the ACI port parameter of a connection type aciObject
- ACI_SECURITY_DATABASE_NAMES -
Static variable in class com.autonomy.client.aciObject
- The "database" name parameter to pass in to setSecurityInfo when setting database information.
- ACI_SECURITY_DATABASES -
Static variable in class com.autonomy.client.aciObject
- The repository parameter to pass in to setSecurityInfo when setting database information.
- ACI_SECURITY_DOMAIN -
Static variable in class com.autonomy.client.aciObject
- The "domain" name parameter to pass in to setSecurityInfo when setting user access permissions.
- ACI_SECURITY_EXTENDED -
Static variable in class com.autonomy.client.aciObject
- The "extended" name parameter to pass in to setSecurityInfo when setting user access permissions.
- ACI_SECURITY_GROUP -
Static variable in class com.autonomy.client.aciObject
- The "group" name parameter to pass in to setSecurityInfo when setting user access permissions.
- ACI_SECURITY_PASSWORD -
Static variable in class com.autonomy.client.aciObject
- The "password" name parameter to pass in to setSecurityInfo when setting user access permissions.
- ACI_SECURITY_USERNAME -
Static variable in class com.autonomy.client.aciObject
- The "username" name parameter to pass in to setSecurityInfo when setting user access permissions.
- AciCache - class com.autonomy.client.AciCache.
AciCache
controls the caching of requests within the ACI api.- ACICONTENT_ERRORBADPARAMETER -
Static variable in class com.autonomy.client.aciObject
- ACI error code indicating that an incorrect or null parameter was encountered.
- ACICONTENT_ERRORNOTFOUND -
Static variable in class com.autonomy.client.aciObject
- ACI error code indicating that a file could not be found.
- ACICONTENT_ERRORNOTMULTIPART -
Static variable in class com.autonomy.client.aciObject
- ACI error code indicating an error in processing a multipart request.
- ACICONTENT_SUCCESS -
Static variable in class com.autonomy.client.aciObject
- ACI error code indicating no error.
- aciObject - class com.autonomy.client.aciObject.
aciObject
is the fundamental construct in the ACI client API .- aciObject(Integer) -
Constructor for class com.autonomy.client.aciObject
-
- aciObjectCreate(int) -
Method in class com.autonomy.client.client
- Create and return a new aciObject
- aciObjectExecute(aciObject) -
Method in class com.autonomy.client.aciObject
- Execute a command.
- aciObjectFirstEntry() -
Method in class com.autonomy.client.aciObject
- Return the first child entry from the object
- aciObjectNextEntry() -
Method in class com.autonomy.client.aciObject
- Return the next entry in object
- aciProcessorCreate(int) -
Method in class com.autonomy.client.client
- Create and return a new aciProcessor
- add(LeagueEntry) -
Method in class com.autonomy.utilities.League
- Add to the league the given LeagueEntry
- add(Object) -
Method in class com.autonomy.config.ConfigComments
- Adds a specified object to the comment list
- add(String, int) -
Method in class com.autonomy.utilities.League
- Add nScore to sNames points total
- addAction(String, String[], long, String) -
Static method in class com.autonomy.client.AciCache
- Details specific cause-effect cases for caching
For example, you might wish to cache the UAServer action 'UserReadAgentList' for speed when reading a user's agent list.
- addHeader(String, String) -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Add a header line to the HTTP request as sKey: sValue.
- addKey(String, String, String) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Add a key to the config
- addSpareData(String, String, Object) -
Method in class com.autonomy.utilities.League
- Adds to the repository for spare data.
- addToSection(ConfigSection) -
Method in class com.autonomy.config.ConfigKey
- Add this key to a section
- allowSlackHTTP() -
Method in class com.autonomy.client.aciObject
- Enables use of
\n\n
to detect the end of the response header section (as opposed to correct \r\n\r\n
)
- allowSlackHTTP() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Enables use of
\n\n
to detect the end of the response header section (as opposed to correct \r\n\r\n
)
- append(byte) -
Method in class com.autonomy.utilities.ByteArrayBuffer
- Append a single byte
- append(byte[]) -
Method in class com.autonomy.utilities.ByteArrayBuffer
- Append an entire byte array
- append(byte[], int) -
Method in class com.autonomy.utilities.ByteArrayBuffer
- Append a portion of a byte array
- append(byte[], int, int) -
Method in class com.autonomy.utilities.ByteArrayBuffer
- Append a portion of a byte array
- append(ByteArrayBuffer) -
Method in class com.autonomy.utilities.ByteArrayBuffer
- Append the entire contents of ByteArrayBuffer
- append(String) -
Method in class com.autonomy.utilities.ByteArrayBuffer
- Append a string using the provided encoding
- atob(String, boolean) -
Static method in class com.autonomy.utilities.StringUtils
- Coverts a string to a boolean or returns bDefault if this is not possible
- atod(String, double) -
Static method in class com.autonomy.utilities.StringUtils
- Coverts a string to a double or returns dDefault if this is not possible
- atof(String, float) -
Static method in class com.autonomy.utilities.StringUtils
- Coverts a string to a float or returns fDefault if this is not possible
- atoi(String, int) -
Static method in class com.autonomy.utilities.StringUtils
- Coverts a string to an int or returns nDefault if this is not possible
- atol(String, long) -
Static method in class com.autonomy.utilities.StringUtils
- Coverts a string to a long or returns nDefault if this is not possible
- AUTN_XML_HEADER -
Static variable in class com.autonomy.client.aciObject
-
- AUTN_XML_TAIL -
Static variable in class com.autonomy.client.aciObject
-
- AutnHttpURLConnection - class com.autonomy.utilities.AutnHttpURLConnection.
- This class is intended to simulate some aspects of
java.net.HttpURLConnection
while allowing the user to set
a timeout on the underlying socket's read operations. - AutnHttpURLConnection(String) -
Constructor for class com.autonomy.utilities.AutnHttpURLConnection
- Construct an
AutnHttpURLConnection
object to communicate with the given URL.
- AutnHttpURLConnection(String, int, String) -
Constructor for class com.autonomy.utilities.AutnHttpURLConnection
- Construct an
AutnHttpURLConnection
object to communicate with the given host, port and resource.
- AutnHttpURLConnection(URL) -
Constructor for class com.autonomy.utilities.AutnHttpURLConnection
- Construct an
AutnHttpURLConnection
object to communicate with the given URL
.
- AutnHttpURLConnectionBinary - class com.autonomy.utilities.AutnHttpURLConnectionBinary.
- Binary version of AutnHttpURLConnection.
- AutnHttpURLConnectionBinary(String, Vector, Vector) -
Constructor for class com.autonomy.utilities.AutnHttpURLConnectionBinary
- Construct an
AutnHttpURLConnection
object to communicate with the given URL.
B
- Base64 - class com.autonomy.utilities.Base64.
- Encodes and decodes to and from Base64 notation.
- Base64.InputStream - class com.autonomy.utilities.Base64.InputStream.
- A
Base64#InputStream
will read data from another
InputStream
, given in the constructor,
and encode/decode to/from Base64 notation on the fly. - Base64.InputStream(InputStream) -
Constructor for class com.autonomy.utilities.Base64.InputStream
- Constructs a
Base64#InputStream
in DECODE mode.
- Base64.InputStream(InputStream, boolean) -
Constructor for class com.autonomy.utilities.Base64.InputStream
- Constructs a
Base64#InputStream
in
either ENCODE or DECODE mode.
- Base64.InputStream(InputStream, boolean, boolean) -
Constructor for class com.autonomy.utilities.Base64.InputStream
- Constructs a
Base64#InputStream
in
either ENCODE or DECODE mode.
- Base64.OutputStream - class com.autonomy.utilities.Base64.OutputStream.
- A
Base64#OutputStream
will write data to another
OutputStream
, given in the constructor,
and encode/decode to/from Base64 notation on the fly. - Base64.OutputStream(OutputStream) -
Constructor for class com.autonomy.utilities.Base64.OutputStream
- Constructs a
Base64#OutputStream
in ENCODE mode.
- Base64.OutputStream(OutputStream, boolean) -
Constructor for class com.autonomy.utilities.Base64.OutputStream
- Constructs a
Base64#OutputStream
in
either ENCODE or DECODE mode.
- Base64.OutputStream(OutputStream, boolean, boolean) -
Constructor for class com.autonomy.utilities.Base64.OutputStream
- Constructs a
Base64#OutputStream
in
either ENCODE or DECODE mode.
- BEGIN_CLOSE -
Static variable in class com.autonomy.config.ConfigEntry
- The string that marks the end of a section name
- BEGIN_OPEN -
Static variable in class com.autonomy.config.ConfigEntry
- The string that marks the beginning of a section name
- binarySearch(String[], char, boolean) -
Static method in class com.autonomy.utilities.StringUtils
- Perform a binary search , finds the first element in sorted array saInput beginning with cChar or the first letter after cChar
- binarySearch(Vector, char, boolean) -
Static method in class com.autonomy.utilities.StringUtils
- Perform a binary search , finds the first element in sortedvector vInput beginning with cChar or the first letter after cChar
- binarySearch(Vector, String, boolean) -
Static method in class com.autonomy.utilities.StringUtils
- Perform a binary search , finds the first element in sorted vector vInput beginning with cChar or the first letter after cChar
- breakReference(String) -
Method in class com.autonomy.utilities.CommunityInfoBreaker
- Breaks the given agent DRE reference into group name, user name and agent name.
- BrowserSniffer - class com.autonomy.utilities.BrowserSniffer.
- Interprets information about the internet browser
received from the User-Agent request header field generated by browser requests
- BrowserSniffer(HttpServletRequest) -
Constructor for class com.autonomy.utilities.BrowserSniffer
- Constructor.
- BrowserSniffer(String) -
Constructor for class com.autonomy.utilities.BrowserSniffer
- Constructor.
- ByteArrayBuffer - class com.autonomy.utilities.ByteArrayBuffer.
- Analogy of a StringBuffer but uses a byte array not a char array.
Useful for storing a dynamic set of bytes - ByteArrayBuffer() -
Constructor for class com.autonomy.utilities.ByteArrayBuffer
- Creates a byte array buffer with a default size
- ByteArrayBuffer(byte[]) -
Constructor for class com.autonomy.utilities.ByteArrayBuffer
- Creates a byte array buffer from a byte array
- ByteArrayBuffer(int) -
Constructor for class com.autonomy.utilities.ByteArrayBuffer
- Creates a byte array with a given size
- ByteArrayBuffer(String, int, String) -
Constructor for class com.autonomy.utilities.ByteArrayBuffer
- Constructor.
- byteArrayHasAtEnd(byte[], byte[]) -
Static method in class com.autonomy.utilities.HTTPFileUpload
- See if the end of byte array 1 is identical to byte array 2
- byteArrayHasAtEnd(byte[], byte[], int) -
Static method in class com.autonomy.utilities.HTTPFileUpload
- See if the subset of byte array 1 that ends at point nEnd, is identical to byte array 2
- byteToHexString(byte) -
Static method in class com.autonomy.utilities.NumberUtils
- Converts a byte to a string containg exactly two hexadecimal numbers
C
- changeKey(String, String, String) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Change a key in the specified section
- charDataHandler(String) -
Method in class com.autonomy.config.XML2ConfigParser
-
- charDataHandler(String) -
Method in class com.autonomy.utilities.EventDrivenXMLParser
- Called when the parser encounters character data.
- charNeedsURLEncoding(char) -
Static method in class com.autonomy.utilities.HTTPUtils
- Returns true if c should be URL Encoded, if it appears as part of a URL
- checkForSuccess() -
Method in class com.autonomy.client.aciObject
- Checks whether an ACI server reply object contains a successful response entry.
- client - class com.autonomy.client.client.
-
- client() -
Constructor for class com.autonomy.client.client
- Constructor
- close() -
Method in class com.autonomy.utilities.Base64.OutputStream
- Flushes and closes stream.
- colorDarkener(String, double) -
Static method in class com.autonomy.utilities.HTMLUtils
- Returns a html string which is a darker color than the one given
- com.autonomy.client - package com.autonomy.client
-
- com.autonomy.config - package com.autonomy.config
-
- com.autonomy.utilities - package com.autonomy.utilities
-
- combine(String[], String) -
Static method in class com.autonomy.utilities.StringUtils
- Method to convert an array of Strings into a CSV
- COMMENT_END -
Static variable in class com.autonomy.config.ConfigEntry
- The string that marks the start of a comment
- COMMENT_START -
Static variable in class com.autonomy.config.ConfigEntry
- The string that marks the start of a comment
- CommunityInfoBreaker - class com.autonomy.utilities.CommunityInfoBreaker.
- This class takes a DRE reference from an agent DRE, which come in the form:
group/user/agent
and separates it to yield
the group, user and agent name that the given record belongs to. - CommunityInfoBreaker() -
Constructor for class com.autonomy.utilities.CommunityInfoBreaker
- Constuctor.
- compareTo(LeagueEntry) -
Method in class com.autonomy.utilities.LeagueEntry
- Comparator.
- compareTo(LeagueEntry, String) -
Method in class com.autonomy.utilities.LeagueEntry
- More complex comparator, requires a parent League object.
- ConfigComments - class com.autonomy.config.ConfigComments.
- Class representing a comment associated with a particular key in a Config File
Any ConfigEntry will have ConfigComments associated with it
- ConfigComments() -
Constructor for class com.autonomy.config.ConfigComments
- Default constructor
- ConfigEntry - class com.autonomy.config.ConfigEntry.
- Abstract class containing all methods / properties common to all configuration entries
- ConfigEntry() -
Constructor for class com.autonomy.config.ConfigEntry
- Create an empty ConfigEntry
- ConfigFile - class com.autonomy.config.ConfigFile.
- Solid implementation of the ConfigEntry.
- ConfigFile() -
Constructor for class com.autonomy.config.ConfigFile
- Constructor.
- ConfigFile(ConfigSection) -
Constructor for class com.autonomy.config.ConfigFile
-
- ConfigFile(String) -
Constructor for class com.autonomy.config.ConfigFile
- Constructor.
- ConfigKey - class com.autonomy.config.ConfigKey.
- This is a Key-Value pair of config entries.
- ConfigKey(String, String) -
Constructor for class com.autonomy.config.ConfigKey
- Construct a config key from a name value pair
- ConfigSection - class com.autonomy.config.ConfigSection.
- This is a section in a configuration.
- ConfigSection() -
Constructor for class com.autonomy.config.ConfigSection
- Creates a blank section
- ConfigSection(String) -
Constructor for class com.autonomy.config.ConfigSection
- Creates a new empty section
- connect() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Opens a communications link to the resource referenced by this URL, if such a connection has not already been established.
- connect() -
Method in class com.autonomy.utilities.AutnHttpURLConnectionBinary
- Opens a communications link to the resource referenced by this URL, if such a connection has not already been established.
- containsIllegalChars(String) -
Static method in class com.autonomy.utilities.StringUtils
- Does a strValid and then returns true if the String contains " ' < > or illegal &
- containsNonAlphaNumericChars(String) -
Static method in class com.autonomy.utilities.StringUtils
- Does a strValid and then returns true if the String contains anything other than letters digits or underscores
- copyFile(File, File) -
Static method in class com.autonomy.utilities.FileUtils
- Copies one file to another
- copyWithRecurse(File, File) -
Static method in class com.autonomy.utilities.FileUtils
- Copies files and folders recursively
- correctSeparators(String) -
Static method in class com.autonomy.utilities.FileUtils
- Takes a filename and makes sure the separators used in it are the system specific ones
- createCapitalisedCheckboxs(String, String[], boolean[], int) -
Static method in class com.autonomy.utilities.HTMLUtils
- Returns HTML for a row of checkboxes
- createCheckboxs(String, String[], boolean[], int) -
Static method in class com.autonomy.utilities.HTMLUtils
- Returns HTML for a table of checkboxes.
- createMultipleSelect(String, String[], String[], String) -
Static method in class com.autonomy.utilities.HTMLUtils
- Creates the HTML for a muliple select box where the values are the same as the visible options
- createSection(String, Vector) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Add a section to the config file.
- createSelect(String, int[], int) -
Static method in class com.autonomy.utilities.HTMLUtils
- Creates the HTML for a drop down box where the values are the same as the visible options
- createSelect(String, String[], String, boolean) -
Static method in class com.autonomy.utilities.HTMLUtils
- Creates the HTML for a drop down box where the values are the same as the visible options
- createSelect(String, String[], String, String) -
Static method in class com.autonomy.utilities.HTMLUtils
- Creates the HTML for a drop down box where the values are the same as the visible options
- CRLF -
Static variable in class com.autonomy.config.ConfigEntry
- A string representing a Return code
D
- DATECODE_TODAY -
Static variable in class com.autonomy.utilities.DateUtils
-
- DateManager - class com.autonomy.utilities.DateManager.
- This class takes a java Calendar object as input, and outputs the day, month and year so that
DateManager dm = new DateManager( Calendar.getInstance() );
out.println( dm.getYear() + "/" + dm.getMonth() + "/" + dm.getDay() );
will return a string of the form:
YYYY/MM/DD
regardless of which of the two getYear/getMonth/getDay methods are used
This is done to cache the many on-the-fly String<->int conversions the search panes
do on these dates. - DateManager(Calendar) -
Constructor for class com.autonomy.utilities.DateManager
- Constuctor.
- DateUtils - class com.autonomy.utilities.DateUtils.
- Class of utilities specifically to deal with dates and times
- DateUtils() -
Constructor for class com.autonomy.utilities.DateUtils
-
- DECODE -
Static variable in class com.autonomy.utilities.Base64
- Specify decoding (value is false).
- decode(byte[], int, int) -
Static method in class com.autonomy.utilities.Base64
- Decodes Base64 content in byte array format and returns
the decoded byte array.
- decode(String) -
Static method in class com.autonomy.utilities.Base64
- Decodes data from Base64 notation.
- decodeToObject(String) -
Static method in class com.autonomy.utilities.Base64
- Attempts to decode Base64 data and deserialize a Java
Object within.
- decodeToString(String) -
Static method in class com.autonomy.utilities.Base64
- Decodes data from Base64 notation and
returns it as a string.
- decryptString(String) -
Static method in class com.autonomy.utilities.StringUtils
- decrypts a string
- deduplicate(String[]) -
Static method in class com.autonomy.utilities.StringUtils
- Remove any duplicated elements from the array
- delete(String) -
Method in class com.autonomy.config.ConfigSection
- Removes the entry with the given name
- deleteKey(String, String) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Deletes a Key from the config from the specified section
- deleteSection(String) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Delete a section from the config file.
- disconnect() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Disconnect from the underlying socket, close the io streams and set them to null.
- display() -
Method in class com.autonomy.config.ConfigFile
- Writes the whole file to standard out
- display() -
Method in class com.autonomy.config.ConfigKey
- Writes this key to standard out, as it would appear in the file
- display() -
Method in class com.autonomy.config.ConfigSection
- Builds a String containing this section as it would appear in the configuration file, and writes to standard out
- display() -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Quick method to print out all of the sections
- display() -
Method in class com.autonomy.utilities.League
- Writes the league to stdout
- displayRequest(JspWriter, HttpServletRequest) -
Static method in class com.autonomy.utilities.HTMLUtils
- Useful for debugging - returns a HTML table displaying all the request.getParamter names and values
- duplicate(boolean) -
Method in class com.autonomy.client.aciObject
-
E
- ENCODE -
Static variable in class com.autonomy.utilities.Base64
- Specify encoding (value is true).
- encodeBytes(byte[]) -
Static method in class com.autonomy.utilities.Base64
- Encodes a byte array into Base64 notation.
- encodeBytes(byte[], boolean) -
Static method in class com.autonomy.utilities.Base64
- Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int) -
Static method in class com.autonomy.utilities.Base64
- Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int, boolean) -
Static method in class com.autonomy.utilities.Base64
- Encodes a byte array into Base64 notation.
- encodeObject(Serializable) -
Static method in class com.autonomy.utilities.Base64
- Serializes an object and returns the Base64-encoded
version of that serialized object.
- encodeObject(Serializable, boolean) -
Static method in class com.autonomy.utilities.Base64
- Serializes an object and returns the Base64-encoded
version of that serialized object.
- encodeString(String) -
Static method in class com.autonomy.utilities.Base64
- Encodes a string in Base64 notation with line breaks
after every 75 Base64 characters.
- encodeString(String, boolean) -
Static method in class com.autonomy.utilities.Base64
- Encodes a string in Base64 notation with line breaks
after every 75 Base64 characters.
- encryptString(String) -
Static method in class com.autonomy.utilities.StringUtils
- encrypts a string
- END_CLOSE -
Static variable in class com.autonomy.config.ConfigEntry
- The string that marks the end of the end of a section
This only applies if USE_END_TAG is true
- END_OPEN -
Static variable in class com.autonomy.config.ConfigEntry
- The string that marks the beginning of the end of a section
This only applies if USE_END_TAG is true
- endElementHandler(String) -
Method in class com.autonomy.config.XML2ConfigParser
-
- endElementHandler(String) -
Method in class com.autonomy.utilities.EventDrivenXMLParser
- Called when the parser encounters an xml element's end tag.
- ensureNoSeparatorAtEnd(String) -
Static method in class com.autonomy.utilities.StringUtils
- Removes any path.separator at the end of a string if there isn't one there already
- ensureSeparatorAtEnd(String) -
Static method in class com.autonomy.utilities.StringUtils
- Puts a path.separator at the end of a string if there isn't one there already
- ensureUniqueName(String) -
Static method in class com.autonomy.utilities.FileUtils
- Takes a full path to a file and adds numbers on to the end of it until the file
does not exist.
- EventDrivenXMLParser - class com.autonomy.utilities.EventDrivenXMLParser.
EventDrivenXMLParser
is a simple stream-oriented parser.- EventDrivenXMLParser() -
Constructor for class com.autonomy.utilities.EventDrivenXMLParser
- Default constructor
- EventDrivenXMLParser(String) -
Constructor for class com.autonomy.utilities.EventDrivenXMLParser
- Constructor for EventDrivenXMLParser.
F
- FileUtils - class com.autonomy.utilities.FileUtils.
- Library of function specifically for use with files
- FileUtils() -
Constructor for class com.autonomy.utilities.FileUtils
- Constructor.
- find(String) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Find the specified key
- findFirstOccurrence(String) -
Method in class com.autonomy.client.aciObject
- Finds first occurance of tag in the XML structure represented by acioTop (this includes the siblings of acioTop).
- findFirstOccurrenceFromRoot(String) -
Method in class com.autonomy.client.aciObject
- Finds first occurance of tag in the XML structure contained within the xml element represented by acioTop.
- flush() -
Method in class com.autonomy.utilities.Base64.OutputStream
- Appropriately pads Base64 notation when encoding
or throws an exception if Base64 input is not
properly padded when decoding.
- FORCEFILENAMEDELIMITER -
Static variable in class com.autonomy.client.aciObject
-
G
- getAgent() -
Method in class com.autonomy.utilities.CommunityInfoBreaker
- Returns the agent name from the DRE reference
- getAttribute(String) -
Method in class com.autonomy.client.aciObject
- Returns the value of an xml tag attribute as a String, or null if the attribute does not exist.
- getAttributeNames() -
Method in class com.autonomy.client.aciObject
- Returns an Enumeration of String objects containing the names of the attributes contained in this request.
- getBody() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Returns the content of this message.
- getBuild() -
Method in class com.autonomy.client.aciObject
-
- getBytes() -
Method in class com.autonomy.utilities.ByteArrayBuffer
- Return the byte array
- getComments() -
Method in class com.autonomy.config.ConfigEntry
- Returns the comments for this entry
- getConfigFile() -
Method in class com.autonomy.config.XML2ConfigParser
- Grab the parsed xml as a ConfigFile
- getContentType(String) -
Method in class com.autonomy.utilities.HTTPFileUpload
- Gets content type for a given filename.
- getDateString(long, String, boolean, boolean, boolean) -
Static method in class com.autonomy.utilities.DateUtils
- returns date string
- getDateString(String, String, boolean, boolean) -
Static method in class com.autonomy.utilities.DateUtils
- returns date string
- getDay() -
Method in class com.autonomy.utilities.DateManager
- Return the day of month for this calendar as an int
- getDay(int) -
Method in class com.autonomy.utilities.DateManager
- return the day of the month for this calendar as a string
- getFilename() -
Method in class com.autonomy.config.ConfigFile
- Get the filename that this ConfigFile was read from
- getFileNames() -
Method in class com.autonomy.utilities.HTTPFileUpload
- Enumerates through the uploaded filenames
- getGroup() -
Method in class com.autonomy.utilities.CommunityInfoBreaker
- Returns the group name from the DRE reference
- getHashtable() -
Method in class com.autonomy.utilities.League
- Returns the hashtable object
- getHeaderField(int) -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Returns the value for the nth header field.
- getHeaderField(String) -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Returns the value for the header field called sKey.
- getHeaderFieldKey(int) -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Returns the name for the nth header field.
- getHTMLColorFromString(String) -
Static method in class com.autonomy.utilities.StringUtils
- parses a string and looks for a HTML "#xxxxxx" type string
- getIEVersion() -
Method in class com.autonomy.utilities.BrowserSniffer
- Returns the version of Internet Explorer, or -1 if the browser is not Internet Explorer.
- getImageNameFromString(String) -
Static method in class com.autonomy.utilities.StringUtils
- parses a string and extracts an image name from a background="image.gif" string
- getInfo() -
Method in class com.autonomy.utilities.ResultEnumerator
- Returns a string of the form "Results - of " for this query
- getInputStream() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Returns an input stream that reads from this open connection.
- getInterval() -
Method in class com.autonomy.utilities.Sleeper
-
- getKey(String, String) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Returns the value of a key
- getKeyNames() -
Method in class com.autonomy.config.ConfigSection
- get a list of the sub-key names
- getKeyNamesVector() -
Method in class com.autonomy.config.ConfigSection
- get a list of the sub-key names
- getLastAmountSlept() -
Method in class com.autonomy.utilities.Sleeper
-
- getLastError() -
Method in class com.autonomy.client.aciObject
- Retrieve the last error message
- getLastInvocationTime() -
Method in class com.autonomy.utilities.Sleeper
-
- getLogging() -
Method in class com.autonomy.utilities.LogFile
- Check to see whether the log file is logging or not
- getMonth() -
Method in class com.autonomy.utilities.DateManager
- Return the month of year for this calendar as an int
- getMonth(int) -
Method in class com.autonomy.utilities.DateManager
- return the day of the month for this calendar as a string
- getMozillaCompatibility() -
Method in class com.autonomy.utilities.BrowserSniffer
- Returns the Mozilla compatibility of the browser of -1 if the request
contains no information about the Mozilla compatibility of the browser.
- getName() -
Method in class com.autonomy.config.ConfigEntry
- Returns the name of the config entry as a string
- getName() -
Method in class com.autonomy.config.ConfigSection
- Returns the name of the config section
- getName() -
Method in class com.autonomy.utilities.LeagueEntry
- returns this entries name
- getName() -
Method in class com.autonomy.utilities.NameValuePair
-
- getNumber() -
Method in class com.autonomy.client.aciObject
- Return the number of objects contained within the specific object
- getNumberOfSections() -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Return the number of sections in the config
- getNumHeaders() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Returns the number of headers in this request
- getOriginalFilename(String) -
Method in class com.autonomy.utilities.HTTPFileUpload
- Gets the original filename on a client machine of a given filename.
- getOriginalName() -
Method in class com.autonomy.config.ConfigEntry
- Returns the name of the config section as a string, in the case
it was in the original config file
- getOriginalName(String) -
Method in class com.autonomy.config.ConfigSection
- Gets the name of a sub entry as it appeared in the original file
- getOutputStream() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Returns an output stream that writes to this connection.
- getParameter(String) -
Method in class com.autonomy.utilities.HTTPFileUpload
- Gets the first entry for a given name.
- getParameterNames() -
Method in class com.autonomy.utilities.HTTPFileUpload
- Enumerates through the parameter names
- getParameterValues(String) -
Method in class com.autonomy.utilities.HTTPFileUpload
- Gets a parameter list
- getRequestMethod() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Get the request method
- getResponseCode() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Gets HTTP response status.
- getResponseMessage() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Gets the HTTP response message, if any, returned along with the response code from a server.
- getRetries() -
Method in class com.autonomy.client.aciObject
- Deprecated. call paramGetInt(aciObject.ACI_CONN_TIMEOUT) on the connection object instead.
- getScore() -
Method in class com.autonomy.utilities.LeagueEntry
- returns this entries current score
- getScore(String) -
Method in class com.autonomy.utilities.League
- Returns the current score in the league for sName
A return value of -1 means there is no entry called sName in the league
- getSection(String) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Return the contents of a specified section
- getSectionHeadings(boolean) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Get an array of section headings
- getSectionNames() -
Method in class com.autonomy.config.ConfigSection
- get a list of the sub-section names
- getSectionNamesVector() -
Method in class com.autonomy.config.ConfigSection
- get a list of the sub-section names
- getSpareData(String, String) -
Method in class com.autonomy.utilities.League
- Retrieves spare data
- getString(InputStream) -
Static method in class com.autonomy.utilities.StringUtils
- returns a string from an input stream
- getTableCenter(HttpSession) -
Static method in class com.autonomy.utilities.HTMLUtils
- Get the browser specific HTML attribute to center tables.
- getTagValue(String) -
Method in class com.autonomy.client.aciObject
- Attempts to find an aciObject named sTagName and reads its aciObject.ACI_DATA_DATA parameter.
- getTagValue(String, String) -
Method in class com.autonomy.client.aciObject
- Attempts to find an aciObject named sTagName and reads its aciObject.ACI_DATA_DATA parameter.
- getTerms() -
Method in class com.autonomy.utilities.TermsNWeights
- Returns a vector of terms
- getTimeout() -
Method in class com.autonomy.client.aciObject
- Deprecated. call paramGetInt(aciObject.ACI_CONN_TIMEOUT) on the connection object instead.
- getTimeout() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Returns setting for SO_TIMEOUT.
- getURL() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Gets the
URL
this connection is using.
- getURLContents(String) -
Static method in class com.autonomy.utilities.HTTPUtils
- Download the contents of the given URL and store in a String
- getUser() -
Method in class com.autonomy.utilities.CommunityInfoBreaker
- Returns the user name from the DRE reference
- getUserAgentHeader(HttpServletRequest) -
Static method in class com.autonomy.utilities.BrowserSniffer
- Gets the user agent header from the HttpServletRequest object.
- getValue() -
Method in class com.autonomy.config.ConfigEntry
- Returns the value of the config entry as a string
- getValue() -
Method in class com.autonomy.utilities.NameValuePair
-
- getVersion() -
Method in class com.autonomy.client.aciObject
- Return the aciObject version
- getVersion() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Returns the HTTP version being used
- getWeights() -
Method in class com.autonomy.utilities.TermsNWeights
- Returns a vector of weights, stored as Integers
- getYear() -
Method in class com.autonomy.utilities.DateManager
- Return the year for this calendar as an int
- getYear(int) -
Method in class com.autonomy.utilities.DateManager
- return the year for this calendar as a string
- goToNextPage() -
Method in class com.autonomy.utilities.ResultEnumerator
- Goes to the next page
- goToPreviousPage() -
Method in class com.autonomy.utilities.ResultEnumerator
- Goes to the previous page
H
- HTMLUtils - class com.autonomy.utilities.HTMLUtils.
- Library of functions specifically for use for drawing HTML text.
Note: These functions make calls to the deprecated session.get/put/removeValue()
methods instead of the new get/set/removeAttribute() methods which perform exactly the
same tasks. - HTMLUtils() -
Constructor for class com.autonomy.utilities.HTMLUtils
- Constructor.
- HTTPFileUpload - class com.autonomy.utilities.HTTPFileUpload.
- Class to process any form submitted from a HTML page using the:
<form enctype="multipart/form-data">
HTML tag. - HTTPFileUpload(InputStream, String, int, int) -
Constructor for class com.autonomy.utilities.HTTPFileUpload
- Constructor - parses the given input stream
- HTTPUtils - class com.autonomy.utilities.HTTPUtils.
- Library of functions specifically used for processing HTTP connections
- HTTPUtils() -
Constructor for class com.autonomy.utilities.HTTPUtils
-
I
- indexOfIgnoreCase(String, String) -
Static method in class com.autonomy.utilities.StringUtils
- Returns the index within the first string of the first occurrence of the second string regardless of case.
- indexOfIgnoreCase(String, String, int) -
Static method in class com.autonomy.utilities.StringUtils
- Returns the index within the first string of the first occurrence of the second string regardless of case, starting at the specified index.
- invalidateSession(HttpSession) -
Static method in class com.autonomy.utilities.HTMLUtils
- Deletes any objects bound to a session
- IS_FILE -
Static variable in class com.autonomy.config.ConfigEntry
- If a ConfigEntry is of type ConfigFile
- IS_KEY -
Static variable in class com.autonomy.config.ConfigEntry
- If a ConfigEntry is of type ConfigKey
- IS_SECTION -
Static variable in class com.autonomy.config.ConfigEntry
- If a ConfigEntry is of type ConfigSection
- IS_UNKNOWN -
Static variable in class com.autonomy.config.ConfigEntry
- If a ConfigEntry is of unknown type
- isAlive() -
Method in class com.autonomy.client.aciObject
- Checks whether the ACI server is up and running.
- isBrowserIE() -
Method in class com.autonomy.utilities.BrowserSniffer
- Returns true if the client browser for this request is Internet Explorer.
- isNotEmpty(String) -
Static method in class com.autonomy.utilities.StringUtils
-
- isSelectedInt(int, int) -
Static method in class com.autonomy.utilities.HTMLUtils
- Useful for drop down boxes - returns "selected" if the two inputs are equal, "" otherwise.
- isSelectedLong(long, long) -
Static method in class com.autonomy.utilities.HTMLUtils
- Useful for drop down boxes - returns "selected" if the two inputs are equal, "" otherwise.
- isSelectedString(String, String) -
Static method in class com.autonomy.utilities.HTMLUtils
- Useful for drop down boxes - returns "selected" if the two inputs are equal, "" otherwise.
- isStringInStringArray(String[], String, boolean) -
Static method in class com.autonomy.utilities.StringUtils
- Looks for a string in a string array
- isTrue(String) -
Static method in class com.autonomy.utilities.StringUtils
- Function returns true if the given string, when trimmed and lower cased, is either "yes", "1", "on" or "true".
J
- JavaConfig - class com.autonomy.utilities.JavaConfig.
- Deprecated. This is no longer supported. Use the com.autonomy.config package
to modify configuration files instead.
- JAVACONFIG_FAILURE -
Static variable in class com.autonomy.utilities.JavaConfig
- Deprecated.
- JAVACONFIG_SUCCESS -
Static variable in class com.autonomy.utilities.JavaConfig
- Deprecated.
- JavaConfig() -
Constructor for class com.autonomy.utilities.JavaConfig
- Deprecated. JavaConfig Constructor.
- JavaConfig(String) -
Constructor for class com.autonomy.utilities.JavaConfig
- Deprecated. Read in a file and convert it to a JavaConfig structure
- JavaConfig(StringBuffer) -
Constructor for class com.autonomy.utilities.JavaConfig
- Deprecated. JavaConfig Constructor
- javaScriptEscape(String) -
Static method in class com.autonomy.utilities.StringUtils
-
K
- KEY_VALUE_SEPARATOR -
Static variable in class com.autonomy.config.ConfigEntry
- The string that separates the key name from the key value
- keys() -
Method in class com.autonomy.utilities.OrderedHashtable
- Returns an enumeration of elements, in the same order that they were inserted
into the hashtable.
L
- League - class com.autonomy.utilities.League.
- This class maintains a list of objects and scores.
- League() -
Constructor for class com.autonomy.utilities.League
- Create an empty league structure
- League(Hashtable) -
Constructor for class com.autonomy.utilities.League
- Create a league structure from an existing Hashtable.
- LeagueEntry - class com.autonomy.utilities.LeagueEntry.
- This class represents the unit entry for the League object
It contains one named String and its score.
- LeagueEntry(League, String, int) -
Constructor for class com.autonomy.utilities.LeagueEntry
- Constructor.
- length() -
Method in class com.autonomy.utilities.ByteArrayBuffer
- Return the length of the current buffer
- log(String) -
Method in class com.autonomy.utilities.LogFile
- Write the string s to the log file.
- Log(String) -
Method in class com.autonomy.utilities.LogFile
- Write the string s to the log file
- LogFile - class com.autonomy.utilities.LogFile.
- Class to create and maintain log files.
- LogFile(String, long) -
Constructor for class com.autonomy.utilities.LogFile
- Create a log file.
- logThrowable(Throwable) -
Method in class com.autonomy.utilities.LogFile
- Writes the throwable's stack trace to the log file
M
- m_bDebug -
Static variable in class com.autonomy.client.aciObject
-
- m_commentList -
Variable in class com.autonomy.config.ConfigComments
- Vector containing a list of comments
- m_nMaxLength -
Variable in class com.autonomy.utilities.HTTPFileUpload
-
- m_nType -
Variable in class com.autonomy.config.ConfigEntry
- The type of this entry
- m_sButtonKeyName -
Variable in class com.autonomy.utilities.ResultEnumerator
-
- m_sStartKeyName -
Variable in class com.autonomy.utilities.ResultEnumerator
-
- m_sUserAgent -
Variable in class com.autonomy.utilities.BrowserSniffer
-
- m_vLeague -
Variable in class com.autonomy.utilities.League
-
- makeLeagueTable() -
Method in class com.autonomy.utilities.League
- The returned vector is a list of entries in the league, sorted by score.
- makeLeagueTable(String) -
Method in class com.autonomy.utilities.League
- The returned vector is a list of entries in the league, sorted by score.
- makeUniqueElement(String[], String) -
Static method in class com.autonomy.utilities.StringUtils
- Checks whether sToCheck is contained in the array asElements.
- MathUtils - class com.autonomy.utilities.MathUtils.
- This class provides mathematical functions not already in java.lang.Math
- MathUtils() -
Constructor for class com.autonomy.utilities.MathUtils
-
N
- NameValuePair - class com.autonomy.utilities.NameValuePair.
-
- NameValuePair() -
Constructor for class com.autonomy.utilities.NameValuePair
-
- NameValuePair(String, String) -
Constructor for class com.autonomy.utilities.NameValuePair
-
- nullToEmpty(String) -
Static method in class com.autonomy.utilities.StringUtils
- If the input string is null, this converts it to empty, otherwise leaves it be
- NumberUtils - class com.autonomy.utilities.NumberUtils.
- Library of functions specifically for working with numbers
- NumberUtils() -
Constructor for class com.autonomy.utilities.NumberUtils
-
O
- or(String[], String[]) -
Static method in class com.autonomy.utilities.StringUtils
- A case sensitive string array OR - returns a string array containing only one occurance
of any string in s1 and s2
- OrderedHashtable - class com.autonomy.utilities.OrderedHashtable.
- Exactly the same as java.util.Hashtable except the keys() method
returns the elements in the order they were inserted in the Hashtable
- OrderedHashtable() -
Constructor for class com.autonomy.utilities.OrderedHashtable
- Constructor.
P
- padWithZeros(String, int) -
Static method in class com.autonomy.utilities.StringUtils
- Pads a string out to length n with leading zeros
- paramGetBool(String) -
Method in class com.autonomy.client.aciObject
- Retrieve the parameter from the object
- paramGetDouble(String) -
Method in class com.autonomy.client.aciObject
- Retrieve the parameter from the object
- paramGetInt(String) -
Method in class com.autonomy.client.aciObject
- Retrieve the parameter from the object
- paramGetLong(String) -
Method in class com.autonomy.client.aciObject
- Retrieve the parameter from the object
- paramGetString(String) -
Method in class com.autonomy.client.aciObject
- Retrieve the parameter from the object
- paramSetBool(String, boolean) -
Method in class com.autonomy.client.aciObject
- Add a boolean parameter to the object
- paramSetDouble(String, double) -
Method in class com.autonomy.client.aciObject
- Add a double parameter to the object
- paramSetFile(String, String) -
Method in class com.autonomy.client.aciObject
- Adds a file for uploading via multipart encoding.
- paramSetInt(String, int) -
Method in class com.autonomy.client.aciObject
- Add a Int parameter to the object
- paramSetLong(String, long) -
Method in class com.autonomy.client.aciObject
- Add a long parameter to the object
- paramSetString(String, String) -
Method in class com.autonomy.client.aciObject
- Add a String parameter to the object
- paramSetStringArray(String, String[]) -
Method in class com.autonomy.client.aciObject
- Add an array of Strings as the value of a parameter to the object
- PARSE_BAD_TAG -
Static variable in class com.autonomy.utilities.EventDrivenXMLParser
-
- PARSE_EMPTY_TAG -
Static variable in class com.autonomy.utilities.EventDrivenXMLParser
-
- PARSE_END_TAG -
Static variable in class com.autonomy.utilities.EventDrivenXMLParser
-
- PARSE_START_TAG -
Static variable in class com.autonomy.utilities.EventDrivenXMLParser
-
- PARSE_XML_TAG -
Static variable in class com.autonomy.utilities.EventDrivenXMLParser
-
- parse() -
Method in class com.autonomy.utilities.EventDrivenXMLParser
- Parse the previoulsy specified xml string.
- parse(String) -
Method in class com.autonomy.config.ConfigFile
- This method parses a String containing Autonomy configuration settings
into the ConfigFile object
- parse(String) -
Method in class com.autonomy.utilities.EventDrivenXMLParser
- Parse the xml string.
- parseByteToHex(String) -
Static method in class com.autonomy.utilities.NumberUtils
- Converts a two character hex string to a byte
- parseResultString(String) -
Method in class com.autonomy.client.aciObject
- Turns xml response from an ACI server into an
aciObject
(or subclass) linked list using the
an XML2ACIParser
.
- parseStringBuffer(StringBuffer) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. This method parses the specified StringBuffer into the hashtable
- pluralise(String, String, int) -
Static method in class com.autonomy.utilities.StringUtils
- returns either the singular or the plural based on the value of the number
For example:
out.println( "This code is " + StringUtils.pluralise( "mine", "ours", nNumberOfCodeOwners ) + "!" );
- print(String) -
Static method in class com.autonomy.utilities.StringUtils
-
- put(Object, Object) -
Method in class com.autonomy.utilities.OrderedHashtable
- Adds an element to the Hashtable
Q
- quickSort(int[]) -
Static method in class com.autonomy.utilities.NumberUtils
- Sorts ints into numerical order
- quickSort(long[]) -
Static method in class com.autonomy.utilities.NumberUtils
- Sorts longs into numerical order
- quickSort(String[]) -
Static method in class com.autonomy.utilities.StringUtils
- Quick sort string arrays into lexicgraphical order
- quickSort(Vector) -
Static method in class com.autonomy.utilities.StringUtils
- Quick sort vectors into lexicgraphical order
- quickSortWithMirror(int[], int[]) -
Static method in class com.autonomy.utilities.NumberUtils
- Sorts ints into numerical order, mirroring the changes in the second array
This functon will not do anything if the two arrays are not the same size
- quickSortWithMirror(long[], long[]) -
Static method in class com.autonomy.utilities.NumberUtils
- Sorts ints into numerical order, mirroring the changes in the second array
This functon will not do anything if the two arrays are not the same size
- quickSortWithMirror(long[], String[]) -
Static method in class com.autonomy.utilities.NumberUtils
- Sorts ints into numerical order, mirroring the changes in the second array
This functon will not do anything if the two arrays are not the same size
- quickSortWithMirror(String[], String[]) -
Static method in class com.autonomy.utilities.StringUtils
- Quick sort string arrays into lexicgraphical order, mirroring the changes in asToMirror
R
- read() -
Method in class com.autonomy.utilities.Base64.InputStream
- Reads enough of the input stream to convert
to/from Base64 and returns the next byte.
- read(byte[], int, int) -
Method in class com.autonomy.utilities.Base64.InputStream
- Calls
Base64.InputStream.read()
repeatedly until the end of stream
is reached or len bytes are read.
- read(String) -
Method in class com.autonomy.config.ConfigFile
- Read in a config file.
- readBoolean(String, boolean) -
Method in class com.autonomy.config.ConfigSection
- Returns the value of a sub-entry, as a boolean
- readBoolean(String, String) -
Method in class com.autonomy.config.ConfigFile
- Get a key from a named section as a boolean
- readBoolean(String, String, boolean) -
Method in class com.autonomy.config.ConfigFile
- Get a key from a named section as a boolean
- readConfigFile(String) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Read in a config file and put it into a StringBuffer, for use later
- readDouble(String, double) -
Method in class com.autonomy.config.ConfigSection
- Returns the value of a sub-entry, as a double
- readDouble(String, String) -
Method in class com.autonomy.config.ConfigFile
- Get a key from a named section as a double
- readDouble(String, String, double) -
Method in class com.autonomy.config.ConfigFile
- Get a key from a named section as a double
- readFileToString(String) -
Static method in class com.autonomy.utilities.FileUtils
- Quick method to read the entire contents of a file into a String
- readInt(String, int) -
Method in class com.autonomy.config.ConfigSection
- Returns the value of a sub-entry, as an int
- readInt(String, String) -
Method in class com.autonomy.config.ConfigFile
- Get a key from a named section as an int
- readInt(String, String, int) -
Method in class com.autonomy.config.ConfigFile
- Get a key from a named section as an int
- readKey(String, String) -
Method in class com.autonomy.config.ConfigSection
- Returns a sub-key
- readLong(String, long) -
Method in class com.autonomy.config.ConfigSection
- Returns the value of a sub-entry, as a long
- readLong(String, String) -
Method in class com.autonomy.config.ConfigFile
- Get a key from a named section as a long
- readLong(String, String, long) -
Method in class com.autonomy.config.ConfigFile
- Get a key from a named section as a long
- readSection(String) -
Method in class com.autonomy.config.ConfigSection
- Returns a sub-section
- readSectionSafely(String) -
Method in class com.autonomy.config.ConfigSection
- Returns a sub-section, creating it if it does not exist
- readString(String, String) -
Method in class com.autonomy.config.ConfigFile
- Get a key from a named section
- readString(String, String) -
Method in class com.autonomy.config.ConfigSection
- Returns the value of a sub-entry, as a String
- readString(String, String, String) -
Method in class com.autonomy.config.ConfigFile
- Get a key from a named section
- remove(Object) -
Method in class com.autonomy.utilities.OrderedHashtable
- Removes an element from the Hashtable
- removeFormatting(String) -
Static method in class com.autonomy.utilities.StringUtils
- Removes all formatting characters from a string
- removeWithRecurse(File) -
Static method in class com.autonomy.utilities.FileUtils
- Deletes files and folders recursively
- requestToQueryString(HttpServletRequest, boolean) -
Static method in class com.autonomy.utilities.HTMLUtils
- Converts the whole of the request to a querystring which can be attached to a URL
Useful when presenting validation errors
- requestToQueryStringAndStrip(HttpServletRequest, boolean, String[]) -
Static method in class com.autonomy.utilities.HTMLUtils
- Converts the whole of the request to a querystring which can be attached to a URL
Useful when presenting validation errors
- ResultEnumerator - class com.autonomy.utilities.ResultEnumerator.
- To handle the overspill of results on to multiple pages in Portal-in-a-Box.
- ResultEnumerator(int, int, int) -
Constructor for class com.autonomy.utilities.ResultEnumerator
- Constructor:
- returnConfig() -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Return the Configuration
S
- safeRequestGet(HttpServletRequest, String, String) -
Static method in class com.autonomy.utilities.HTMLUtils
- Does request.getParameter(sName).
- safeRequestValuesGet(HttpServletRequest, String, String[]) -
Static method in class com.autonomy.utilities.HTMLUtils
- Does request.getParameterValues(sName).
- safeSessionGet(HttpSession, String, Object) -
Static method in class com.autonomy.utilities.HTMLUtils
- Gets an object from the session.
- SEPARATOR_CHAR -
Static variable in class com.autonomy.utilities.CommunityInfoBreaker
-
- setBody(ByteArrayBuffer) -
Method in class com.autonomy.utilities.AutnHttpURLConnectionBinary
-
- setBody(String) -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Set the content to be sent with this message.
- setBookmark(String) -
Method in class com.autonomy.utilities.ResultEnumerator
- Sets the HTML bookmark links use ( ie #top )
- setButtonKeyName(String) -
Method in class com.autonomy.utilities.ResultEnumerator
- Sets the CGI variable used to store button data.
- setCachingTime(long) -
Static method in class com.autonomy.client.AciCache
- Set the maximum time for which ACI requests are cached.
- setComments(ConfigComments) -
Method in class com.autonomy.config.ConfigEntry
- Sets the comments object for this entry
- setContentLength(int) -
Method in class com.autonomy.utilities.AutnHttpURLConnectionBinary
-
- setContentType(String) -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Set the Content-Type header value.
- setCSSAClass(String) -
Method in class com.autonomy.utilities.ResultEnumerator
- Sets the CSS class used to display links
- setCSSFontClass(String) -
Method in class com.autonomy.utilities.ResultEnumerator
- Sets the CSS class used to display fonts
- setDateStamp(int) -
Method in class com.autonomy.utilities.LogFile
- The date format value is a series of flags to determine how much date information is
written before each entry in the log file:
If bit 0 is set, each log entry will be preceeded by the date.
If bit 1 is set, each log entry will be preceeded by the time of day upto the second.
- setEncoding(String) -
Method in class com.autonomy.utilities.ByteArrayBuffer
- Set encoding used for coverting Strings to bytes
- setEncoding(String, String) -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Set the encoding used to write data to the socket.
Setting any of these to null will uses the JVM's default encoding
- setFilter(String, boolean) -
Method in class com.autonomy.utilities.WildFilter
- Set the filter
- setHeader(String, String) -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Add a header line to the HTTP request as sKey: sValue.
- setHref(String) -
Method in class com.autonomy.utilities.ResultEnumerator
- Informs this class where HTML links are to go to
- setInterval(long) -
Method in class com.autonomy.utilities.Sleeper
-
- setKey(ConfigKey) -
Method in class com.autonomy.config.ConfigSection
- Sets the specified key
- setLogfileName(String) -
Static method in class com.autonomy.client.AciCache
- Specify the path and name for the caching events logfile.
- setLogging(boolean) -
Method in class com.autonomy.utilities.LogFile
- If this is set to true, the log file will behave as normal.
- setMaxScore(int) -
Method in class com.autonomy.utilities.League
- Sets a maximum score acheivable in the league
Non-positive scores are ignored
- setName(String) -
Method in class com.autonomy.utilities.NameValuePair
-
- setNextButton(String) -
Method in class com.autonomy.utilities.ResultEnumerator
- Sets a HTML string that will be used as the next button
- setNot(boolean) -
Method in class com.autonomy.utilities.WildFilter
- Set the 'not' flag
- setPreviousButton(String) -
Method in class com.autonomy.utilities.ResultEnumerator
- Sets a HTML string that will be used as the previous button
- setRequestMethod(String) -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Set the method for the URL request, one of:
GET
POST
are legal, subject to protocol restrictions.
- setRetries(int) -
Method in class com.autonomy.client.aciObject
- Deprecated. call paramSetInt(aciObject.ACI_CONN_TIMEOUT, nTimeout) on the connection object instead.
- setSection(ConfigSection) -
Method in class com.autonomy.config.ConfigSection
- Puts a new sub-section into this section
- setSecurityKeys(int, int, int, int) -
Method in class com.autonomy.client.aciObject
- Set the keys used for secure communications with an ACI Server.
- setStartKeyName(String) -
Method in class com.autonomy.utilities.ResultEnumerator
- Sets the CGI variable used to store result data.
- setStartResult(int) -
Method in class com.autonomy.utilities.ResultEnumerator
- Sets the result number to start at
- setString(String, String) -
Method in class com.autonomy.config.ConfigSection
- Creates and sets a new sub-key for this section
- setString(String, String, String) -
Method in class com.autonomy.config.ConfigFile
- Set a key in a specified section, overwriting any existing entries there
- setTimeout(int) -
Method in class com.autonomy.client.aciObject
- Deprecated. call paramSetInt(aciObject.ACI_CONN_TIMEOUT, nTimeout) on the connection object instead.
- setTimeout(int) -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
- setUserSecurityInfo(String, String, String) -
Method in class com.autonomy.client.aciObject
- Set an item of security information for a specific security type.
- setValue(String) -
Method in class com.autonomy.utilities.NameValuePair
-
- setVersion(String) -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Sets the HTTP version to use.
- setXML(String) -
Method in class com.autonomy.utilities.EventDrivenXMLParser
- Sets sXML as the buffer to be parsed.
- skipResponseHeaders() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Moves the input stream past initial response line and headers so response body is next to be read.
- sleep(long) -
Method in class com.autonomy.utilities.Sleeper
-
- Sleeper - class com.autonomy.utilities.Sleeper.
-
- Sleeper(long) -
Constructor for class com.autonomy.utilities.Sleeper
-
- sleepIfNecessary() -
Method in class com.autonomy.utilities.Sleeper
-
- sniff() -
Method in class com.autonomy.utilities.BrowserSniffer
- Extracts the relevant data from the User-Agent header.
- split(String, String) -
Static method in class com.autonomy.utilities.StringUtils
- Method to Split up a CSV String into an array.
- start() -
Method in class com.autonomy.utilities.Sleeper
-
- startElementHandler(String, Hashtable) -
Method in class com.autonomy.config.XML2ConfigParser
-
- startElementHandler(String, Hashtable) -
Method in class com.autonomy.utilities.EventDrivenXMLParser
- Called when the parser encounters an xml element's start tag.
- stringArrayToIntArray(String[]) -
Static method in class com.autonomy.utilities.StringUtils
- Quick method to convert a string array to int array
- stringArrayToLongArray(String[]) -
Static method in class com.autonomy.utilities.StringUtils
- Quick method to convert a string array to long array
- stringArrayToVector(Object[]) -
Static method in class com.autonomy.utilities.StringUtils
- creates a vector containing the same elements as an array
- stringIsValidName(String) -
Static method in class com.autonomy.config.ConfigEntry
-
- stringReplace(String, String, String) -
Static method in class com.autonomy.utilities.StringUtils
- Replace muliple occurrences of the specified string within an input string
- stringReplaceIgnoreCase(String, String, String) -
Static method in class com.autonomy.utilities.StringUtils
- Replace multiple occurrences of the specified string within an input string, regardless of case
- StringUtils - class com.autonomy.utilities.StringUtils.
- Library of functions used for working with Strings
- StringUtils() -
Constructor for class com.autonomy.utilities.StringUtils
- Constructor.
- stripDangerousChars(String) -
Static method in class com.autonomy.utilities.StringUtils
- Safety net for catching and stripping < > and ", which can be dangerous when working with
dynamically generated HTML pages ( ie JSP pages or Servlets ).
- stripHTML(String) -
Static method in class com.autonomy.utilities.StringUtils
- Strips out all HTML in the given string
- stripNonAlphaNum(String) -
Static method in class com.autonomy.utilities.StringUtils
- Removes all non-alphanumeric characters from the string
- strValid(String) -
Static method in class com.autonomy.utilities.StringUtils
- Returns true if the string isn't null or empty
- strValid(String, int) -
Static method in class com.autonomy.utilities.StringUtils
- Returns true if the string isn't null and between 1 and MaxLength chars long
Pass in 0 or a negative number for maxlength and it will not check for length
- subtract(LeagueEntry) -
Method in class com.autonomy.utilities.League
- Subtract from the league the given LeagueEntry
- subtract(String, int) -
Method in class com.autonomy.utilities.League
- subtract nScore from sNames points total
T
- tanh(double) -
Static method in class com.autonomy.utilities.MathUtils
- Calculates the hyperbolic tangent, tanh(x) = (e^x - e^-x) / (e^x + e^-x), of x.
- TermsNWeights - class com.autonomy.utilities.TermsNWeights.
- Class representing terms and weights from a DRE
- TermsNWeights(String) -
Constructor for class com.autonomy.utilities.TermsNWeights
- Takes a string in this form:
TGS~[179]+SONIC~[127]+XBOX~[111]+VOYAG~[109]+CNET~[109]+GAMECUB~[107]+TYKE~[99]+SEGA~[9>]+GAMESPOT~[92]
and parses out the terms and weights
- toByteArray() -
Method in class com.autonomy.utilities.AutnHttpURLConnectionBinary
- Constructs the string buffer to send as this HTTP request
- toHashtable() -
Method in class com.autonomy.config.ConfigSection
- Returns the config section in a hashtable
- toHTMLString() -
Method in class com.autonomy.client.aciObject
- Constructs a String representation of the linked list headed by
this
aciObject that can be viewed in
a web browser, detailing all parameters and attributes set on each object in the linked list.
- toSentenceCase(String) -
Static method in class com.autonomy.utilities.StringUtils
- Puts Strings Into This Form
- toString() -
Method in class com.autonomy.client.aciObject
- Constructs a String representation of the linked list headed by
this
aciObject, detailing all
parameters and attributes set on each object in the linked list.
- toString() -
Method in class com.autonomy.config.ConfigComments
- Returns the comments as a string as it would be displayed in a config file
- toString() -
Method in class com.autonomy.config.ConfigFile
- Creates a string representing the whole file as it would be stored on the file system
- toString() -
Method in class com.autonomy.config.ConfigKey
- Returns this config key as a string as it would appear in the file
- toString() -
Method in class com.autonomy.config.ConfigSection
- Builds a String containing this section as it would appear in the configuration file
- toString() -
Method in class com.autonomy.utilities.AutnHttpURLConnection
- Constructs the string buffer to send as this HTTP request
- toString() -
Method in class com.autonomy.utilities.ByteArrayBuffer
- Convert the buffer to a string, using the character encoding
specified in setEncoding
- toString() -
Method in class com.autonomy.utilities.ResultEnumerator
- Returns some HTML to allow users to click around the results for this page.
- toString() -
Method in class com.autonomy.utilities.Sleeper
-
- toXMLString() -
Method in class com.autonomy.client.aciObject
- Constructs an XML representation of the linked list headed by
this
aciObject, detailing all
parameters and attributes set on each object in the linked list.
- turnLoggingOff() -
Static method in class com.autonomy.client.AciCache
- Stop logging caching events.
- turnLoggingOn() -
Static method in class com.autonomy.client.AciCache
- Start logging caching events.
U
- urlDecode(String) -
Static method in class com.autonomy.utilities.StringUtils
- Method to decode URLs, as this is not present in JRE1.1 environments
- URLDecode(String, String) -
Static method in class com.autonomy.utilities.HTTPUtils
- A URL Unescaping function that works with non-ASCII characters on non-English locales
- URLEncode(String) -
Method in class com.autonomy.client.aciObject
- Utility function to URLEncode a string using whatever character send encoding has been set using the
ACI_CONN_SENDENCODING parameter or the platform default character encoding if this parameter has not been set.
- URLEncode(String, String) -
Static method in class com.autonomy.utilities.HTTPUtils
- A URL Escaping function that works with non-ASCII characters on non-English locales
- USE_END_TAG -
Static variable in class com.autonomy.config.ConfigEntry
- Specifies if the configuration uses a marker to end a section
V
- vectorToStringArray(Vector) -
Static method in class com.autonomy.utilities.StringUtils
- creates a vector containing the same elements as an array
W
- wildcardStringEquals(String, String, boolean) -
Static method in class com.autonomy.utilities.StringUtils
- compares two strings, sWild may contain wildcards '?' & '*'.
- WildFilter - class com.autonomy.utilities.WildFilter.
- Implmentation of the FilenameFilter interface that uses standard * wildcards
to isolate files.
- WildFilter() -
Constructor for class com.autonomy.utilities.WildFilter
- Default constructor
- WildFilter(String, boolean) -
Constructor for class com.autonomy.utilities.WildFilter
- Constructor
- write() -
Method in class com.autonomy.config.ConfigFile
- Writes the file out to the same location it was read from
- write(byte[], int, int) -
Method in class com.autonomy.utilities.Base64.OutputStream
- Calls
Base64.OutputStream.write(int)
repeatedly until len
bytes are written.
- write(int) -
Method in class com.autonomy.utilities.Base64.OutputStream
- Writes the byte to the output stream after
converting to/from Base64 notation.
- writeConfig(String, boolean) -
Method in class com.autonomy.utilities.JavaConfig
- Deprecated. Write the config out to a file on disk
- writeInputStreamToFile(InputStream, String, boolean) -
Static method in class com.autonomy.utilities.FileUtils
- Takes the contents of an java.io.InputStream and writes to a file
- writeStringToFile(String, String, boolean) -
Static method in class com.autonomy.utilities.FileUtils
- Takes the contents of an String and writes to a file
- writeStringToFile(String, String, String, boolean) -
Static method in class com.autonomy.utilities.FileUtils
- Takes the contents of an String and writes to a file
- writeTo(String, boolean) -
Method in class com.autonomy.config.ConfigFile
- Write the config out to a file on disk
X
- XML2ConfigParser - class com.autonomy.config.XML2ConfigParser.
- Takes any xml and converts it to a ConfigFile
- XML2ConfigParser() -
Constructor for class com.autonomy.config.XML2ConfigParser
-
- XML2ConfigParser(String) -
Constructor for class com.autonomy.config.XML2ConfigParser
-
- XMLElementHandler(String, Hashtable) -
Method in class com.autonomy.config.XML2ConfigParser
-
- XMLElementHandler(String, Hashtable) -
Method in class com.autonomy.utilities.EventDrivenXMLParser
- Called when the parser encounters The XMLEscape(String) -
Static method in class com.autonomy.utilities.StringUtils
- Performs a basic <, >, ", &, ' XML Escape on the given string
- XMLUnescape(String) -
Static method in class com.autonomy.utilities.StringUtils
- XML unescapes the given string.
A B C D E F G H I J K L M N O P Q R S T U V W X