Android 2.3 Gingerbread

Package android.util

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

See:
          Description

Interface Summary
AttributeSet A collection of attributes, as found associated with a tag in an XML document.
Log.TerribleFailureHandler Interface to handle terrible failures from #wtf().
Pool<T extends Poolable<T>>  
Poolable<T>  
PoolableManager<T extends Poolable<T>>  
Printer Simple interface for printing text, allowing redirection to various targets.
 

Class Summary
Base64 Utilities for encoding and decoding the Base64 representation of binary data.
Base64.Coder  
Base64.Decoder  
Base64.Encoder  
Base64InputStream An InputStream that does Base64 decoding on the data read through it.
Base64OutputStream An OutputStream that does Base64 encoding on the data written to it, writing the resulting data to another OutputStream.
CalendarUtils A class containing utility methods related to Calendar apps.
CalendarUtils.TimeZoneUtils This class contains methods specific to reading and writing time zone values.
CharsetUtils A class containing utility methods related to character sets.
Config Build configuration.
ConfigBuildFlags Static flags set by the build process.
DayOfMonthCursor Helps control and display a month view of a calendar that has a current selected day.
DebugUtils Various utilities for debugging and logging.
DisplayMetrics A structure describing general information about a display, such as its size, density, and font scaling.
EventLog Access to the system diagnostic event record.
EventLog.Event A previously logged event read from the logs.
EventLogTags Deprecated. This class is no longer functional.
EventLogTags.Description  
FinitePool<T extends Poolable<T>>  
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.
LongSparseArray<E> SparseArrays map longs to Objects.
MathUtils A class that contains utility methods related to numbers.
MonthDisplayHelper Helps answer common questions that come up when displaying a month in a 6 row calendar grid format.
Pair<F,S> Container to ease passing around a tuple of two objects.
Patterns Commonly used regular expression patterns.
Pools  
PrintStreamPrinter Implementation of a Printer that sends its output to a PrintStream.
PrintWriterPrinter Implementation of a Printer that sends its output to a PrintWriter.
Slog  
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.
SynchronizedPool<T extends Poolable<T>>  
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.
Xml.XmlSerializerFactory Factory for xml serializers.
XmlPullAttributes Provides an implementation of AttributeSet on top of an XmlPullParser.
 

Enum Summary
Xml.Encoding Supported character encodings.
 

Exception Summary
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  
 

Package android.util Description

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


Android 2.3 Gingerbread