ZetaGrid v1.9

zeta.handler.statistic
Interface CodedList

All Known Implementing Classes:
WorkstationsHandler

public interface CodedList

Interface to serialize a table in a compressed format.


Method Summary
 java.lang.String decode(java.lang.String content, int pos)
          Decodes a specified column name.
 java.lang.String decodeValue(java.lang.String content, int pos, int end)
          Decodes that value of the column.
 java.lang.String encode(java.lang.String column)
          Encodes a specified column name.
 int getAlignment(java.lang.String content, int pos)
          Returns the alignment of the value of the decoded column.
 

Method Detail

encode

public java.lang.String encode(java.lang.String column)
Encodes a specified column name.

Parameters:
column - column name
Returns:
encoded column name.

decode

public java.lang.String decode(java.lang.String content,
                               int pos)
Decodes a specified column name.

Parameters:
content - text with column name
pos - encoded text starts at the specified position
Returns:
decoded column name.

decodeValue

public java.lang.String decodeValue(java.lang.String content,
                                    int pos,
                                    int end)
Decodes that value of the column.

Parameters:
content - text of the column
pos - encoded text starts at the specified position
Returns:
value of the decoded column.

getAlignment

public int getAlignment(java.lang.String content,
                        int pos)
Returns the alignment of the value of the decoded column.

Parameters:
content - text of the column
pos - encoded text starts at the specified position
Returns:
the alignment of the value of the decoded column.

ZetaGrid v1.9

For further technical papers, see ZetaGrid Technical Documentation.
 
Copyright © 2001,2002 Sebastian Wedeniwski. All Rights Reserved.