Classes, to enable
the direct population of a Class[] property without having to
use a String class name property as bridge.
Also supports "java.lang.String[]"-style array class names, in contrast
to the standard Class#forName(String) method.
| Modifier and Type | Field and Description |
|---|---|
| private final ClassLoader |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ClassArrayEditor(ClassLoader
the classLoader)ClassLoader to use
(or pass null for the thread context ClassLoader)Create a default |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAsText()
Overrides java. Implements java. Gets the property value as a string suitable for presentation to a human to edit. |
| public void | setAsText(String
The string to be parsed. text)Overrides java. Implements java. Sets the property value by parsing a given String. |
| classLoader | back to summary |
|---|---|
| private final ClassLoader classLoader
| |
| ClassArrayEditor | back to summary |
|---|---|
| public ClassArrayEditor() Create a default | |
| ClassArrayEditor | back to summary |
|---|---|
| public ClassArrayEditor(ClassLoader classLoader) Create a default
| |
| getAsText | back to summary |
|---|---|
| public String getAsText() Overrides java. Implements java. Doc from java. Gets the property value as a string suitable for presentation to a human to edit. | |
| setAsText | back to summary |
|---|---|
| public void setAsText(String text) throws IllegalArgumentException Overrides java. Implements java. Doc from java. Sets the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text. | |