package

android.util

Classes | Description

Provides common utility methods such as date/time manipulation, base64 encoders and decoders, string and number conversion methods, and XML utilities. more...

Interfaces

AttributeSet A collection of attributes, as found associated with a tag in an XML document. 
Printer Simple interface for printing text, allowing redirection to various targets. 

Classes

Config Build configuration. The constants in this class vary depending on release vs. debug build. This is the configuration for release builds.  
DebugUtils

Various utilities for debugging and logging. 

DisplayMetrics A structure describing general information about a display, such as its size, density, and font scaling. 
EventLogTags Parsed representation of /etc/event-log-tags. 
EventLogTags.Description  
FloatMath Math routines similar to those found in Math
Log API for sending log output. 
LogPrinter Implementation of a Printer that sends its output to the system log. 
MonthDisplayHelper Helps answer common questions that come up when displaying a month in a 6 row calendar grid format. 
PrintStreamPrinter Implementation of a Printer that sends its output to a PrintStream
PrintWriterPrinter Implementation of a Printer that sends its output to a PrintWriter
SparseArray<E> SparseArrays map integers to Objects. 
SparseBooleanArray SparseBooleanArrays map integers to booleans. 
SparseIntArray SparseIntArrays map integers to integers. 
StateSet State sets are arrays of positive ints where each element represents the state of a View (e.g. 
StringBuilderPrinter Implementation of a Printer that sends its output to a StringBuilder
TimeUtils A class containing utility methods related to time zones. 
TimingLogger A utility class to help log timings splits throughout a method call. 
TypedValue Container for a dynamically typed data value. 
Xml XML utility methods. 

Enums

Xml.Encoding Supported character encodings. 

Exceptions

AndroidException Base class for all checked exceptions thrown by the Android frameworks. 
AndroidRuntimeException Base class for all unchecked exceptions thrown by the Android frameworks. 
TimeFormatException