Since: API Level 1
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

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

Classes

Base64Utilities for encoding and decoding the Base64 representation of binary data. 
Base64InputStreamAn InputStream that does Base64 decoding on the data read through it. 
Base64OutputStreamAn OutputStream that does Base64 encoding on the data written to it, writing the resulting data to another OutputStream. 
ConfigBuild configuration. The constants in this class vary depending on release vs. debug build.  
DebugUtils

Various utilities for debugging and logging. 

DisplayMetricsA structure describing general information about a display, such as its size, density, and font scaling. 
EventLogAccess to the system diagnostic event record. 
EventLog.EventA previously logged event read from the logs. 
EventLogTags This class is deprecated. This class is no longer functional. Use EventLog instead.  
EventLogTags.Description 
FloatMathMath routines similar to those found in Math
LogAPI for sending log output. 
LogPrinterImplementation of a Printer that sends its output to the system log. 
MonthDisplayHelperHelps 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. 
PatternsCommonly used regular expression patterns. 
PrintStreamPrinterImplementation of a Printer that sends its output to a PrintStream
PrintWriterPrinterImplementation of a Printer that sends its output to a PrintWriter
SparseArray<E>SparseArrays map integers to Objects. 
SparseBooleanArraySparseBooleanArrays map integers to booleans. 
SparseIntArraySparseIntArrays map integers to integers. 
StateSetState sets are arrays of positive ints where each element represents the state of a View (e.g. 
StringBuilderPrinterImplementation of a Printer that sends its output to a StringBuilder
TimeUtilsA class containing utility methods related to time zones. 
TimingLoggerA utility class to help log timings splits throughout a method call. 
TypedValueContainer for a dynamically typed data value. 
XmlXML utility methods. 

Enums

Xml.EncodingSupported character encodings. 

Exceptions

AndroidExceptionBase class for all checked exceptions thrown by the Android frameworks. 
AndroidRuntimeExceptionBase class for all unchecked exceptions thrown by the Android frameworks. 
TimeFormatException