java.lang.Object | |
↳ | sun.tools.jconsole.inspector.Utils |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Utils.CopyKeyAdapter | |||||||||||
Utils.EditFocusAdapter | |||||||||||
Utils.ReadOnlyTableCellEditor |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check if the given element denotes a supported array-friendly data
structure, i.e.
| |||||||||||
This method attempts to create an object of the given "type"
using the "value" parameter.
| |||||||||||
If the exception is wrapped, unwrap it.
| |||||||||||
This method provides a readable classname if it's an array,
i.e.
| |||||||||||
This method returns the class matching the name className.
| |||||||||||
This method inserts a default value for the standard java types,
else it inserts the text name of the expected class type.
| |||||||||||
This method is responsible for converting the inputs given by the user
into a useful object array for passing into a parameter array.
| |||||||||||
This methods provides a readable classname.
| |||||||||||
This method tells whether the type is editable
(means can be created with a String or not)
| |||||||||||
Check if the given element is an array.
| |||||||||||
Check if the given collection is a uniform collection of the given type.
| |||||||||||
Try to create a Java object using a one-string-param constructor.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Check if the given element denotes a supported array-friendly data structure, i.e. a data structure jconsole can render as an array.
This method attempts to create an object of the given "type" using the "value" parameter. e.g. calling createObjectFromString("java.lang.Integer", "10") will return an Integer object initialized to 10.
Exception |
---|
This method provides a readable classname if it's an array, i.e. either the classname of the component type for arrays of java reference types or the name of the primitive type for arrays of java primitive types. Otherwise, it returns null.
This method returns the class matching the name className. It's used to cater for the primitive types.
ClassNotFoundException |
---|
This method inserts a default value for the standard java types, else it inserts the text name of the expected class type. It acts to give a clue as to the input type.
This method is responsible for converting the inputs given by the user into a useful object array for passing into a parameter array.
Exception |
---|
This methods provides a readable classname. If the supplied name parameter denotes an array this method returns either the classname of the component type for arrays of java reference types or the name of the primitive type for arrays of java primitive types followed by n-times "[]" where 'n' denotes the arity of the array. Otherwise, if the supplied name doesn't denote an array it returns the same classname.
This method tells whether the type is editable (means can be created with a String or not)
Check if the given element is an array. Multidimensional arrays are not supported. Non-empty 1-dimensional arrays of CompositeData and TabularData are not handled as arrays but as tabular data.
Check if the given collection is a uniform collection of the given type.
Try to create a Java object using a one-string-param constructor.
Exception |
---|