English | Site Directory

Android - An Open Handset Alliance Project

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

ArrayUtils ArrayUtils contains some methods that you can call to find out the most efficient increments by which to grow arrays. 
CharSequences CharSequence utility methods. 
Config Build configuration. The constants in this class vary depending on release vs. debug build. This is the configuration for release builds.  
DateFormat Utility class for producing strings with formatted date/time. 
DateUtils  
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. 
HexDump  
Log API for sending log output. 
LogPrinter Implementation of a Printer that sends its output to the system log. 
MathUtils  
MonthDisplayHelper Helps answer common questions that come up when displaying a month in a 6 row calendar grid format. 
Objects Object utility methods. 
PackedFloatVector  
PackedIntVector PackedIntVector stores a two-dimensional array of integers, optimized for inserting and deleting rows and for offsetting the values in segments of a given column. 
PackedObjectVector  
PrintWriterPrinter Implementation of a Printer that sends its output to a PrintWriter
ResettableTimeout Utility class that you can call on with a timeout, and get called back after a given time, dealing correctly with restarting the timeout. 
SparseArray 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  
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. 
XmlPullAttributes Provides an implementation of AttributeSet on top of an XmlPullParser. 

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  
Build m5-rc15f - 23 Apr 2008 12:29