|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.frame4j.ShowProps
public final class ShowProps
Display the system and environment properties.
This application display the Java runtime environment's so called
"system properties".
Small optional function (since 12.2005): If there is a command line
argument
java de.frame4j.ShowProps wind [-case]
the application returns 1 (as process exit code) instead of 0, if the
argument can'nt be found as substring and ignoring case in any system
property value. A second argument -case makes the search case
sensitive.
Being the only exception in this respect within Frame4J, this application
is totally independent (self contained) from the framework; hence missing
all the flexibility and comfort.
The reason for this restriction is the use as a very basic (go no go) test
after a down load or new installation of the framework and or a JDK.
©
© Copyright 1998 - 2000, 2003 - 2005 Albrecht Weinert
de.frame4j,
PropMap| Field Summary | |
|---|---|
static String |
copyRight
Copyright note. |
static String |
version
Name and version. |
| Constructor Summary | |
|---|---|
ShowProps()
|
|
| Method Summary | |
|---|---|
static int |
indexOf(CharSequence chain,
CharSequence sub,
boolean ignoreCase)
An indexOf optionally ignoring case. |
static void |
main(String[] args)
Start method of ShowProps. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String version
public static final String copyRight
| Constructor Detail |
|---|
public ShowProps()
| Method Detail |
|---|
public static final void main(String[] args)
args - none or search-pattern or search-pattern -case
public static final int indexOf(CharSequence chain,
CharSequence sub,
boolean ignoreCase)
String.indexOf(java.lang.String) with the
extra option to ignore case.
chain - The String to be searched within.sub - The Substring to be found in chain.ignoreCase - true means ignore case in the matching process
TextHelper,
TextHelper.indexOf(CharSequence, CharSequence, int, boolean)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||