public final class App extends Object
| Constructor and Description |
|---|
App(String name,
String release,
int[] date,
String usage,
String rights)
Creates an App object.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate()
Returns application code creation date
|
String |
getName()
Returns the name of this application
|
String |
getRelease()
Returns the release identifier for this application.
|
String |
getRights()
Returns the rights string.
|
String |
getUsage()
Returns the usage string, which should be output when the user enters a
command line with only the application name.
|
static App |
newAppWithName(String name) |
void |
show(OutputHandler handler)
Outputs detailed information about the application, including
configuration, available modules and handlers, etc.
|
public App(String name, String release, int[] date, String usage, String rights)
name - Name of the application.release - Release identifier.date - Last modification date of the application code, in the form of
an array of three numbers. date[0] is the year,
date[1] the month, and date[2] the
day.usage - String summarizing command line usage, to output when app name
is typed with no arguments or flags.rights - Copyright or other rights statement.public Date getDate()
public String getName()
public String getRelease()
public String getRights()
public String getUsage()
public void show(OutputHandler handler)
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.