Skip navigation links
Android Utils 1.0.1 Documentation
A D E F G H I L P R S T U V W 

A

add(int) - Method in class universum.studios.android.util.Flags
Adds the specified flag to the current ones (if not presented yet).

D

d(String, String) - Static method in class universum.studios.android.util.Logger
d(String, String, Throwable) - Static method in class universum.studios.android.util.Logger
DEBUG - Static variable in class universum.studios.android.util.Logger
The flag to enable/disable log output for the DEBUG logging.
disable(int) - Static method in class universum.studios.android.util.Logger
Disables the messages output in the log cat for the requested log output type/-s.
disableAll() - Static method in class universum.studios.android.util.Logger
Disables the messages output in the log cat for all log output types.
dispatchApplicationCreated(Resources) - Method in class universum.studios.android.util.Localer
Called from application's Application.onCreate() to dispatch, that application was just created.
dispatchConfigurationChanged(Configuration, Resources) - Method in class universum.studios.android.util.Localer
Called from application's Application.onConfigurationChanged(Configuration) to dispatch changed configuration.

E

e(String, String) - Static method in class universum.studios.android.util.Logger
e(String, String, Throwable) - Static method in class universum.studios.android.util.Logger
enable(int) - Static method in class universum.studios.android.util.Logger
Enables the messages output in the log cat for the requested log output type/-s.
enableAll() - Static method in class universum.studios.android.util.Logger
Enables the messages output in the log cat for the all log output types.
ERROR - Static variable in class universum.studios.android.util.Logger
The flag to enable/disable log output for the ERROR logging.
ErrorException - Exception in universum.studios.android.util
A RuntimeException implementation that may be used to dispatch errors occurred during normal execution.
ErrorException(int) - Constructor for exception universum.studios.android.util.ErrorException
Same as ErrorException.ErrorException(int, String) with empty message.
ErrorException(int, String) - Constructor for exception universum.studios.android.util.ErrorException
ErrorException(int, Throwable) - Constructor for exception universum.studios.android.util.ErrorException
ErrorException(int, String, Throwable) - Constructor for exception universum.studios.android.util.ErrorException
Creates a new instance of ErrorException with the specified error code, message and cause.

F

Flags - Class in universum.studios.android.util
This class represents a crate to store a set of integer flags instead of a boolean flags to improve memory efficiency of an Android application.
Flags() - Constructor for class universum.studios.android.util.Flags
Creates a new instance of Flags with current flags initialized to 0.
Flags(int) - Constructor for class universum.studios.android.util.Flags
Creates a new instance of Flags with the initial flags value.

G

get() - Method in class universum.studios.android.util.Flags
Returns a value of the current flags.
getCode() - Method in exception universum.studios.android.util.ErrorException
Returns the error code specified for this error exception.
getLocale() - Method in class universum.studios.android.util.Localer
Returns the current locale assigned to this Localer.
getStackTraceString(Throwable) - Static method in class universum.studios.android.util.Logger

H

has(int) - Method in class universum.studios.android.util.Flags
Checks whether the requested flag is presented within the current flags or not.
has(Context, String) - Static method in class universum.studios.android.util.Permissions
Checks whether the specified permission is granted for the current process and user id.
hasAllOf(Context, String...) - Static method in class universum.studios.android.util.Permissions
Checks whether all of the specified permissions are granted for the current process and user id.
hasAnyOf(Context, String...) - Static method in class universum.studios.android.util.Permissions
Checks whether any of the specified permissions is granted for the current process and user id.

I

i(String, String) - Static method in class universum.studios.android.util.Logger
i(String, String, Throwable) - Static method in class universum.studios.android.util.Logger
INFO - Static variable in class universum.studios.android.util.Logger
The flag to enable/disable log output for the INFO logging.
isEnabled(int) - Static method in class universum.studios.android.util.Logger
Returns flag indicating whether the log output for the specified logFlag is currently enabled or not.
isLoggable(String, int) - Static method in class universum.studios.android.util.Logger

L

Localer - Class in universum.studios.android.util
The Localer class provides API allowing to set up custom Locale for an Android application.
Localer() - Constructor for class universum.studios.android.util.Localer
Creates a new instance of Localer to manage custom locale within this Android application with default Locale set to Locale.ENGLISH.
Localer(Locale) - Constructor for class universum.studios.android.util.Localer
Creates a new instance of Localer to manage custom locale within this Android application with the given default Locale.
Logger - Class in universum.studios.android.util
Logging utility class.
Logger.LogType - Annotation Type in universum.studios.android.util
Defines an annotation for determining set of allowed log flags for enable(...), disable(...) methods.

P

Permissions - Class in universum.studios.android.util
Helper class that can be used for permissions checking.
Permissions() - Constructor for class universum.studios.android.util.Permissions
 

R

remove(int) - Method in class universum.studios.android.util.Flags
Removes the specified flag from the current ones (if presented).
reset() - Method in class universum.studios.android.util.Flags
Resets value of this flags to 0.
reset() - Static method in class universum.studios.android.util.Logger
Resets the current state of Logger to the default one.

S

sEnabledLogs - Static variable in class universum.studios.android.util.Logger
Set of output flags determining which log outputs are enabled.
setLocale(Locale, Resources) - Method in class universum.studios.android.util.Localer
Sets the given locale to be used as locale for this Android application, so all stuffs related to locale, like resources will depends on the passed Locale.
showToast(Context, int) - Static method in class universum.studios.android.util.Toaster
showToast(Context, int, int) - Static method in class universum.studios.android.util.Toaster
Shows a default Toast with the formatted text obtained from an application resources by the specified resId.
showToast(Context, int, int, Object...) - Static method in class universum.studios.android.util.Toaster
Like Toaster.showToast(Context, int, String, Object...), but the specified text will be formatted by the given args during of the obtaining process from an application resources.
showToast(Context, int, String, Object...) - Static method in class universum.studios.android.util.Toaster
Same as Toaster.showToast(Context, CharSequence, int) where the given args will be used to format the specified text
showToast(Context, CharSequence) - Static method in class universum.studios.android.util.Toaster
showToast(Context, CharSequence, int) - Static method in class universum.studios.android.util.Toaster
Shows a default Toast with the formatted text.
switchToDebugMode() - Static method in class universum.studios.android.util.Logger
Enables all log outputs except Logger.WTF.
switchToReleaseMode() - Static method in class universum.studios.android.util.Logger
Enables log output for Logger.INFO, Logger.WARN, Logger.ERROR.

T

Toaster - Class in universum.studios.android.util
This class wraps Toast class and its API to provide simpler usage when showing toast messages.
Toaster() - Constructor for class universum.studios.android.util.Toaster
 
Toaster.Duration - Annotation Type in universum.studios.android.util
Defines an annotation for determining set of allowed durations for showToast(...) methods.

U

universum.studios.android.util - package universum.studios.android.util
Provides group of useful utils for everyday Android application development, mainly for 'controlled' logging into console, showing of simple toasts for a user or simple permissions checking.

V

v(String, String) - Static method in class universum.studios.android.util.Logger
v(String, String, Throwable) - Static method in class universum.studios.android.util.Logger
VERBOSE - Static variable in class universum.studios.android.util.Logger
The flag to enable/disable log output for the VERBOSE logging.

W

w(String, String) - Static method in class universum.studios.android.util.Logger
w(String, Throwable) - Static method in class universum.studios.android.util.Logger
w(String, String, Throwable) - Static method in class universum.studios.android.util.Logger
WARN - Static variable in class universum.studios.android.util.Logger
The flag to enable/disable log output for the WARN logging.
withCode(int) - Static method in exception universum.studios.android.util.ErrorException
Creates a new instance of ErrorException with the specified error code.
WTF - Static variable in class universum.studios.android.util.Logger
The flag to enable/disable log output for the WTF logging.
wtf(String, String) - Static method in class universum.studios.android.util.Logger
wtf(String, Throwable) - Static method in class universum.studios.android.util.Logger
wtf(String, String, Throwable) - Static method in class universum.studios.android.util.Logger
A D E F G H I L P R S T U V W 
Skip navigation links
Android Utils 1.0.1 Documentation