A C D F G I L O P R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(T) - Method in interface org.wso2.carbon.utils.LambdaExceptionUtils.ConsumerWithExceptions
- accept(T, U) - Method in interface org.wso2.carbon.utils.LambdaExceptionUtils.BiConsumerWithExceptions
- apply(T) - Method in interface org.wso2.carbon.utils.LambdaExceptionUtils.FunctionWithExceptions
C
- CARBON_CONFIG_YAML - Static variable in class org.wso2.carbon.utils.Constants
- CARBON_HOME - Static variable in class org.wso2.carbon.utils.Constants
- CARBON_HOME_ENV - Static variable in class org.wso2.carbon.utils.Constants
- checkSecurity() - Static method in class org.wso2.carbon.utils.Utils
-
When the java security manager is enabled, the
checkSecuritymethod can be used to protect/prevent methods being executed by unsigned code. - CONF_DIR - Static variable in class org.wso2.carbon.utils.Constants
- Constants - Class in org.wso2.carbon.utils
-
Carbon Constants.
- Constants.PlaceHolders - Class in org.wso2.carbon.utils
-
Default value if it is not set in sys prop/env.
- copyFile(File, File) - Static method in class org.wso2.carbon.utils.FileUtils
-
Copies source file to destination file.
- copyFileToDir(File, File) - Static method in class org.wso2.carbon.utils.FileUtils
-
Copies src file to dst directory.
D
- deleteDir(File) - Static method in class org.wso2.carbon.utils.FileUtils
-
Deletes all files and subdirectories under dir.
- DEPLOYMENT_CONFIG_YAML - Static variable in class org.wso2.carbon.utils.Constants
F
- FileUtils - Class in org.wso2.carbon.utils
-
File Utilities.
G
- get() - Method in interface org.wso2.carbon.utils.LambdaExceptionUtils.SupplierWithExceptions
- getCarbonConfigHome() - Static method in class org.wso2.carbon.utils.Utils
-
This method will return the carbon configuration directory path.
- getCarbonHome() - Static method in class org.wso2.carbon.utils.Utils
-
Returns the Carbon Home directory path.
- getCarbonRuntimes() - Static method in class org.wso2.carbon.utils.Utils
-
Returns a list of WSO2 Carbon Runtime names.
- getChar() - Method in class org.wso2.carbon.utils.Tokenizer
-
Returns the next character to be processed by the tokenizer.
- getNonEmptyStringAfterTrim(String) - Static method in class org.wso2.carbon.utils.StringUtils
-
Returns non-empty
Optional<String>, if the givenStringis non-empty after applying trim() operation. - getRuntimeConfigPath() - Static method in class org.wso2.carbon.utils.Utils
-
Get the conf path of the runtime.
- getRuntimeName() - Static method in class org.wso2.carbon.utils.Utils
-
get the current Runtime name.
- getRuntimePath() - Static method in class org.wso2.carbon.utils.Utils
-
Returns the Runtime Home directory path.
- getString(String) - Method in class org.wso2.carbon.utils.Tokenizer
-
Returns the next token delimited by any character in the provided terminals String.
- getString(String, String) - Method in class org.wso2.carbon.utils.Tokenizer
-
Returns the next token delimited by any character in the provided terminals String.
- getSystemVariableValue(String, String) - Static method in class org.wso2.carbon.utils.Utils
-
A utility which allows reading variables from the environment or System properties.
- getSystemVariableValue(String, String, Class) - Static method in class org.wso2.carbon.utils.Utils
-
A utility which allows reading variables from the environment or System properties.
- getToken(String) - Method in class org.wso2.carbon.utils.Tokenizer
-
Returns the next token delimited by any character in the provided terminals String.
I
- isNullOrEmpty(String) - Static method in class org.wso2.carbon.utils.StringUtils
-
Check whether the given
Stringis null or empty. - isNullOrEmptyAfterTrim(String) - Static method in class org.wso2.carbon.utils.StringUtils
-
Check whether the given
Stringis null of empty after the trim operation.
L
- LambdaExceptionUtils - Class in org.wso2.carbon.utils
-
A Utility which provides a way to throw checked exceptions from the lambda expressions.
- LambdaExceptionUtils() - Constructor for class org.wso2.carbon.utils.LambdaExceptionUtils
- LambdaExceptionUtils.BiConsumerWithExceptions<T,U,E extends Exception> - Interface in org.wso2.carbon.utils
-
Represents a
BiConsumerinterface which can throw exceptions. - LambdaExceptionUtils.ConsumerWithExceptions<T,E extends Exception> - Interface in org.wso2.carbon.utils
-
Represents a
Consumerinterface which can throw exceptions. - LambdaExceptionUtils.FunctionWithExceptions<T,R,E extends Exception> - Interface in org.wso2.carbon.utils
-
Represents a
Functioninterface which can throw exceptions. - LambdaExceptionUtils.RunnableWithExceptions<E extends Exception> - Interface in org.wso2.carbon.utils
-
Represents a
Runnableinterface which can throw exceptions. - LambdaExceptionUtils.SupplierWithExceptions<T,E extends Exception> - Interface in org.wso2.carbon.utils
-
Represents a
Supplierinterface which can throw exceptions.
O
- org.wso2.carbon.utils - package org.wso2.carbon.utils
- OSGI_LIB - Static variable in class org.wso2.carbon.utils.Constants
P
- PlaceHolders() - Constructor for class org.wso2.carbon.utils.Constants.PlaceHolders
- PROFILE_REPOSITORY - Static variable in class org.wso2.carbon.utils.Constants
R
- rethrowBiConsumer(LambdaExceptionUtils.BiConsumerWithExceptions<T, U, E>) - Static method in class org.wso2.carbon.utils.LambdaExceptionUtils
-
This method allows a BiConsumer which throws exceptions to be used in places which expects a BiConsumer.
- rethrowConsumer(LambdaExceptionUtils.ConsumerWithExceptions<T, E>) - Static method in class org.wso2.carbon.utils.LambdaExceptionUtils
-
This method allows a Consumer which throws exceptions to be used in places which expects a Consumer.
- rethrowFunction(LambdaExceptionUtils.FunctionWithExceptions<T, R, E>) - Static method in class org.wso2.carbon.utils.LambdaExceptionUtils
-
This method allows a Function which throws exceptions to be used in places which expects a Function.
- rethrowSupplier(LambdaExceptionUtils.SupplierWithExceptions<T, E>) - Static method in class org.wso2.carbon.utils.LambdaExceptionUtils
-
This method allows a Supplier which throws exceptions to be used in places which expects a Supplier.
- run() - Method in interface org.wso2.carbon.utils.LambdaExceptionUtils.RunnableWithExceptions
- RUNTIME - Static variable in class org.wso2.carbon.utils.Constants
- RUNTIME_PATH - Static variable in class org.wso2.carbon.utils.Constants
- RUNTIME_PATH_ENV - Static variable in class org.wso2.carbon.utils.Constants
S
- SERVER_KEY - Static variable in class org.wso2.carbon.utils.Constants.PlaceHolders
- SERVER_NAME - Static variable in class org.wso2.carbon.utils.Constants.PlaceHolders
- SERVER_VERSION - Static variable in class org.wso2.carbon.utils.Constants.PlaceHolders
- StringUtils - Class in org.wso2.carbon.utils
-
This class contains utility methods for Strings.
- StringUtils() - Constructor for class org.wso2.carbon.utils.StringUtils
- substituteVariables(String) - Static method in class org.wso2.carbon.utils.Utils
-
Replace system property holders in the property values.
T
- Tokenizer - Class in org.wso2.carbon.utils
-
Simple tokenizer class.
- Tokenizer(String) - Constructor for class org.wso2.carbon.utils.Tokenizer
-
Construct the tokenizer from the given string.
U
- Utils - Class in org.wso2.carbon.utils
-
Carbon utility methods.
All Classes All Packages