Microsoft SDK for Java

format

This method of the IDataFormat interface formats data from a database format into a user-editable format.

Syntax

public Object format(Locale locale, Object data);

Parameters

locale The locale to use when formatting the data.
data The data to format.

Return Value

Returns a user-editable format.

Remarks

If the locale parameter is null, the current thread locale should be used. The type of the returned format can vary with the implementation, but will typically be a string.

See Also   unformat

© 1999 Microsoft Corporation. All rights reserved. Terms of use.