|
AdventNet CLI 2.0 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface is used for performing Transformation of terminal data. The user has to implement the method for reading the transformation tables, perform the transformation.
| Method Summary | |
java.lang.String[] |
getTransformationTableNames()
This method returns the table names that are present in the Transformation table list. |
void |
readTransformationTables(java.lang.String fileName)
This method reads the transformation tables (e.g in a XML file or a simple Text file). |
byte[] |
transform(byte[] data)
This method is called to perform the actual transformation. |
void |
useTransformationTable(java.lang.String tableName)
This method sets the Transformation Table to use among the different tables read. |
| Method Detail |
public void readTransformationTables(java.lang.String fileName)
throws TerminalException
fileName - the file in which the Table entries are present
public void useTransformationTable(java.lang.String tableName)
throws TerminalException
tableName - the table name indicates the table which should be
used for the transformation.
public byte[] transform(byte[] data)
throws TerminalException
data - the data to be transformed
public java.lang.String[] getTransformationTableNames()
throws TerminalException
|
AdventNet CLI 2.0 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||