- toBoolean(Object, boolean) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
-
Deprecated.
Returns the boolean value of the parameter or the
defaultValue
if the parameter is null
.
- toBoolean(Object, boolean) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
-
Returns the boolean value of the parameter or the
defaultValue
if the parameter is null
.
- toDouble(Object, double) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
-
Deprecated.
Returns the parameter as a double or the
defaultValue
if the parameter is null
or if
the parameter is not a Double
and cannot be converted to
a Double
from the parameter's string value.
- toDouble(Object, double) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
-
Returns the parameter as a double or the
defaultValue
if the parameter is null
or if
the parameter is not a Double
and cannot be converted to
a Double
from the parameter's string value.
- toInteger(Object, int) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
-
Deprecated.
Returns the parameter as an integer or the
defaultValue
if the parameter is null
or if
the parameter is not an Integer
and cannot be converted to
an Integer
from the parameter's string value.
- toInteger(Object, int) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
-
Returns the parameter as an integer or the
defaultValue
if the parameter is null
or if
the parameter is not an Integer
and cannot be converted to
an Integer
from the parameter's string value.
- toLong(Object, long) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
-
Deprecated.
Returns the parameter as a long or the
defaultValue
if the parameter is null
or if
the parameter is not a Long
and cannot be converted to
a Long
from the parameter's string value.
- toLong(Object, long) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
-
Returns the parameter as a long or the
defaultValue
if the parameter is null
or if
the parameter is not a Long
and cannot be converted to
a Long
from the parameter's string value.
- toMap(Object, String[]) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
-
Returns the parameter as a map with string keys and string values.
- toObject(Object) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
-
Deprecated.
Returns the parameter as a single value.
- toObject(Object) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
-
Returns the parameter as a single value.
- toString() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
-
- toString(Object, String) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
-
Deprecated.
Returns the parameter as a string or the
defaultValue
if the parameter is null
.
- toString(Object, String) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
-
Returns the parameter as a string or the
defaultValue
if the parameter is null
.
- toStringArray(Object) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
-
Deprecated.
Returns the parameter as an array of Strings.
- toStringArray(Object, String[]) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
-
Deprecated.
Returns the parameter as an array of Strings.
- toStringArray(Object) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
-
Returns the parameter as an array of Strings.
- toStringArray(Object, String[]) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
-
Returns the parameter as an array of Strings.