com.sas.table
Interface FormatInterface


public interface FormatInterface

Defines an interface for formatting a set of values.

See Also:
FormattedDataInterface

Method Summary
 java.lang.String[] formatValues(int formatID, java.lang.Object[] values)
          Formats a set of values using the pre-defined format associated with a given identifier.
 

Method Detail

formatValues

java.lang.String[] formatValues(int formatID,
                                java.lang.Object[] values)
                                throws com.sas.table.TableException
Formats a set of values using the pre-defined format associated with a given identifier.

Parameters:
formatID - Identifies the format to use. This will be implementation defined. For example, a one-based index that identifies a row or column in a table.
values - The set of values to format.
Returns:
An array of formatted values.
Throws:
TableException - Thrown if the query can not be satisfied (e.g. i/o-failure).



Copyright © 2009 SAS Institute Inc. All Rights Reserved.