public enum About extends Enum<About>
Version.SIS
,
System.getProperties()
, Locale.getDefault()
or TimeZone.getDefault()
.
This class does not collect every possible information. Instead, it tries to focus on the most
important information for SIS, as determined by experience in troubleshooting.
Some of those information are:
Defined in the sis-utility
module
Enum Constant and Description |
---|
LIBRARIES
Information about the libraries.
|
LOCALIZATION
Information about default locale, timezone and character encoding.
|
LOGGING
Information about logging.
|
PATHS
Information about user home directory, java installation directory or other kind of data.
|
VERSIONS
Information about software version numbers.
|
Modifier and Type | Method and Description |
---|---|
static TreeTable |
configuration()
Returns all known information about the current Apache SIS running environment.
|
static TreeTable |
configuration(Set<About> sections,
Locale locale,
TimeZone timezone)
Returns a subset of the information about the current Apache SIS running environment.
|
static About |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static About[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final About VERSIONS
public static final About LOCALIZATION
public static final About LOGGING
public static final About PATHS
public static final About LIBRARIES
public static About[] values()
for (About c : About.values()) System.out.println(c);
public static About valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static TreeTable configuration()
This convenience method is equivalent to the following code:
return configuration(EnumSet.allOf(About.class), null, null);
public static TreeTable configuration(Set<About> sections, Locale locale, TimeZone timezone)
sections
- The section for which information are desired.locale
- The locale to use for formatting the texts in the tree, or null
for the default.timezone
- The timezone to use for formatting the dates, or null
for the default.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.