Skip navigation links
A C D E F G H I L M N O P R S V 

A

AbstractApplication - Class in com.globalmentor.application
An abstract implementation of an application that by default is a console application.
AbstractApplication(URI, String) - Constructor for class com.globalmentor.application.AbstractApplication
URI constructor.
AbstractApplication(URI, String, String[]) - Constructor for class com.globalmentor.application.AbstractApplication
URI and arguments constructor.
Application - Interface in com.globalmentor.application
An application that by default is a console application.

C

canExit() - Method in class com.globalmentor.application.AbstractApplication
Determines whether the application can exit.
canStart() - Method in class com.globalmentor.application.AbstractApplication
Checks requirements, permissions, and expirations before starting.
canStart() - Method in interface com.globalmentor.application.Application
Checks requirements, permissions, and expirations before starting.
com.globalmentor.application - package com.globalmentor.application
 
CommandLineArguments - Class in com.globalmentor.application
Constants and utilities for accessing command-line arguments.
CommandLineArguments() - Constructor for class com.globalmentor.application.CommandLineArguments
This class can only be instantiated if a class is derived from it.
CommandLineArguments.Switch - Enum in com.globalmentor.application
Common command-line parameters.
configureLog(String[]) - Static method in class com.globalmentor.application.CommandLineArguments
Sets default program debugging based upon the presence of the "log" flag and the logging switches.
createSwitch(String) - Static method in class com.globalmentor.application.CommandLineArguments
Deprecated.

D

displayError(Throwable) - Method in class com.globalmentor.application.AbstractApplication
Displays an error message to the user for an exception.
displayError(String) - Method in class com.globalmentor.application.AbstractApplication
Displays the given error to the user
displayError(Throwable) - Method in interface com.globalmentor.application.Application
Displays an error message to the user for an exception.
displayError(String) - Method in interface com.globalmentor.application.Application
Displays the given error to the user

E

exit() - Method in class com.globalmentor.application.AbstractApplication
Exits the application with no status.
exit(int) - Method in class com.globalmentor.application.AbstractApplication
Exits the application with the given status.
exit() - Method in interface com.globalmentor.application.Application
Exits the application with no status.
exit(int) - Method in interface com.globalmentor.application.Application
Exits the application with the given status.

F

FLAG_PATTERN - Static variable in class com.globalmentor.application.CommandLineArguments
The pattern for matching flags.

G

getArgs() - Method in class com.globalmentor.application.AbstractApplication
 
getArgs() - Method in interface com.globalmentor.application.Application
 
getAuthenticator() - Method in class com.globalmentor.application.AbstractApplication
 
getAuthenticator() - Method in interface com.globalmentor.application.Application
 
getDisplayErrorMessage(Throwable) - Static method in class com.globalmentor.application.AbstractApplication
Constructs a user-presentable error message based on an exception.
getExpirationDate() - Method in class com.globalmentor.application.AbstractApplication
 
getExpirationDate() - Method in interface com.globalmentor.application.Application
 
getName() - Method in class com.globalmentor.application.AbstractApplication
 
getOption(String[], O, Class<V>) - Static method in class com.globalmentor.application.CommandLineArguments
Searches the given arguments for the last occurrence of a particular option.
getOption(String[], O) - Static method in class com.globalmentor.application.CommandLineArguments
Searches the given arguments for the last occurrence of a particular option.
getOption(String[], String, Class<V>) - Static method in class com.globalmentor.application.CommandLineArguments
Searches the given arguments for the last occurrence of a particular option.
getOption(String[], String) - Static method in class com.globalmentor.application.CommandLineArguments
Searches the given arguments for the last occurrence of a particular option.
getOptions(String[], O) - Static method in class com.globalmentor.application.CommandLineArguments
Returns the given arguments for all occurrences a particular option.
getOptions(String[], String) - Static method in class com.globalmentor.application.CommandLineArguments
Returns the given arguments for all occurrences a particular option.
getPreferences() - Method in class com.globalmentor.application.AbstractApplication
 
getPreferences() - Method in interface com.globalmentor.application.Application
 
getURI() - Method in class com.globalmentor.application.AbstractApplication
 

H

hasFlag(String[], F) - Static method in class com.globalmentor.application.CommandLineArguments
Searches the argument array to see if a particular flag is defined.
hasFlag(String[], String) - Static method in class com.globalmentor.application.CommandLineArguments
Searches the argument array to see if a particular flag is defined.
hasHelpFlag(String[]) - Static method in class com.globalmentor.application.CommandLineArguments
Returns whether the help flag is turned on.

I

initialize() - Method in class com.globalmentor.application.AbstractApplication
Initializes the application.
initialize(Application, String[]) - Static method in class com.globalmentor.application.AbstractApplication
Initializes the environment for the application.
initialize() - Method in interface com.globalmentor.application.Application
Initializes the application.
isSwitch(String) - Static method in class com.globalmentor.application.CommandLineArguments
Checks to see if a particular argument is a switch, without regard to whether it is an option or a flag.

L

LONG_SWITCH_DELIMITER - Static variable in class com.globalmentor.application.CommandLineArguments
The long delimiter that introduces a switch.

M

main() - Method in interface com.globalmentor.application.Application
The main application method.

N

NO_ARGUMENTS - Static variable in interface com.globalmentor.application.Application
An array containing no arguments.

O

OPTION_PATTERN - Static variable in class com.globalmentor.application.CommandLineArguments
The pattern for matching options.

P

performExit(int) - Method in class com.globalmentor.application.AbstractApplication
Exits the application with the given status without checking to see if exit should be performed.

R

run(Application, String[]) - Static method in class com.globalmentor.application.AbstractApplication
Starts an application.

S

setAuthenticator(Authenticable) - Method in class com.globalmentor.application.AbstractApplication
Sets the authenticator object used to retrieve client authentication.
setAuthenticator(Authenticable) - Method in interface com.globalmentor.application.Application
Sets the authenticator object used to retrieve client authentication.
setExpiration(Date) - Method in class com.globalmentor.application.AbstractApplication
Sets the expiration date of the application.
SWITCH_PATTERN - Static variable in class com.globalmentor.application.CommandLineArguments
The pattern for matching switches in general.

V

valueOf(String) - Static method in enum com.globalmentor.application.CommandLineArguments.Switch
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.globalmentor.application.CommandLineArguments.Switch
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H I L M N O P R S V 
Skip navigation links

Copyright © 1996–2016 GlobalMentor, Inc.. All rights reserved.