Skip navigation links
Android Utils 2.0.0 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) - Method in interface universum.studios.android.util.Logger
Delegates to Log.d(String, String) if Log.DEBUG level is loggable at the time.
d(String, String, Throwable) - Method in interface universum.studios.android.util.Logger
Delegates to Log.d(String, String, Throwable) if Log.DEBUG level is loggable at the time.
d(String, String) - Method in class universum.studios.android.util.SimpleLogger
 
d(String, String, Throwable) - Method in class universum.studios.android.util.SimpleLogger
 
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) - Method in interface universum.studios.android.util.Logger
Delegates to Log.e(String, String) if Log.ERROR level is loggable at the time.
e(String, String, Throwable) - Method in interface universum.studios.android.util.Logger
Delegates to Log.e(String, String, Throwable) if Log.ERROR level is loggable at the time.
e(String, String) - Method in class universum.studios.android.util.SimpleLogger
 
e(String, String, Throwable) - Method in class universum.studios.android.util.SimpleLogger
 
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.
forceLog(int, String, String) - Method in interface universum.studios.android.util.Logger
Delegates to Log.println(int, String, String) with the specified parameters.
forceLog(int, String, String) - Method in class universum.studios.android.util.SimpleLogger
 

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.
getLogLevel() - Method in interface universum.studios.android.util.Logger
Returns the logging level specified for this logger.
getLogLevel() - Method in class universum.studios.android.util.SimpleLogger
 
getStackTraceString(Throwable) - Method in interface universum.studios.android.util.Logger
getStackTraceString(Throwable) - Method in class universum.studios.android.util.SimpleLogger
 

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) - Method in interface universum.studios.android.util.Logger
Delegates to Log.i(String, String) if Log.INFO level is loggable at the time.
i(String, String, Throwable) - Method in interface universum.studios.android.util.Logger
Delegates to Log.i(String, String, Throwable) if Log.INFO level is loggable at the time.
i(String, String) - Method in class universum.studios.android.util.SimpleLogger
 
i(String, String, Throwable) - Method in class universum.studios.android.util.SimpleLogger
 
isLoggable(String, int) - Method in interface universum.studios.android.util.Logger
Checks whether a log output for the specified level may be logged or not.
isLoggable(String, int) - Method in class universum.studios.android.util.SimpleLogger
 

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.
log(int, String, String) - Method in interface universum.studios.android.util.Logger
Delegates to Logger.forceLog(int, String, String) if the specified level is loggable at the time.
log(int, String, String) - Method in class universum.studios.android.util.SimpleLogger
 
Logger - Interface in universum.studios.android.util
Interface for console loggers.
Logger.Level - Annotation Type in universum.studios.android.util
Defines an annotation for available log levels.

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.

S

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.
setLogLevel(int) - Method in interface universum.studios.android.util.Logger
Sets a logging level for this logger.
setLogLevel(int) - Method in class universum.studios.android.util.SimpleLogger
Methods =====================================================================================
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.
SimpleLogger - Class in universum.studios.android.util
A simple implementation of Logger which delegates all its calls to Log class.
SimpleLogger(int) - Constructor for class universum.studios.android.util.SimpleLogger
Creates a new instance of SimpleLogger with the specified log level.

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) - Method in interface universum.studios.android.util.Logger
Delegates to Log.v(String, String) if Log.VERBOSE level is loggable at the time.
v(String, String, Throwable) - Method in interface universum.studios.android.util.Logger
Delegates to Log.v(String, String, Throwable) if Log.VERBOSE level is loggable at the time.
v(String, String) - Method in class universum.studios.android.util.SimpleLogger
 
v(String, String, Throwable) - Method in class universum.studios.android.util.SimpleLogger
 

W

w(String, String) - Method in interface universum.studios.android.util.Logger
Delegates to Log.w(String, String) if Log.WARN level is loggable at the time.
w(String, Throwable) - Method in interface universum.studios.android.util.Logger
Delegates to Log.w(String, Throwable) if Log.WARN level is loggable at the time.
w(String, String, Throwable) - Method in interface universum.studios.android.util.Logger
Delegates to Log.w(String, String, Throwable) if Log.WARN level is loggable at the time.
w(String, String) - Method in class universum.studios.android.util.SimpleLogger
 
w(String, Throwable) - Method in class universum.studios.android.util.SimpleLogger
 
w(String, String, Throwable) - Method in class universum.studios.android.util.SimpleLogger
 
withCode(int) - Static method in exception universum.studios.android.util.ErrorException
Creates a new instance of ErrorException with the specified error code.
wtf(String, String) - Method in interface universum.studios.android.util.Logger
wtf(String, Throwable) - Method in interface universum.studios.android.util.Logger
wtf(String, String, Throwable) - Method in interface universum.studios.android.util.Logger
wtf(String, String) - Method in class universum.studios.android.util.SimpleLogger
 
wtf(String, Throwable) - Method in class universum.studios.android.util.SimpleLogger
 
wtf(String, String, Throwable) - Method in class universum.studios.android.util.SimpleLogger
 
A D E F G H I L P R S T U V W 
Skip navigation links
Android Utils 2.0.0 Documentation