com.ibm.manplato.Protocol.Util.StdApps
Class AppBlock
java.lang.Object
|
+--com.ibm.manplato.Protocol.Util.DLPBlock
|
+--com.ibm.manplato.Protocol.Util.StdApps.AppBlock
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AddressAppBlock, DateBookAppBlock, ExpenseAppBlock, MailAppBlock, MemoAppBlock, ToDoListAppBlock
- public class AppBlock
- extends DLPBlock
This class represents the common Application block
Contains all the categories and category handling functions.
- Version:
- $Rev$-$Date: 2001/05/14 10:46:04 $$State: Exp $
- Author:
- File Created By: Ferenc PAL <fpal@hu.ibm.com>, Last Modified By: $Author: fpal $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CATEGORY_BLOCK_LENGTH
public static final int CATEGORY_BLOCK_LENGTH
MAX_CATEGORIES
public static final byte MAX_CATEGORIES
appData
protected byte[] appData
AppBlock
public AppBlock()
- Parameters:
data
- byte[]
AppBlock
public AppBlock(DLPBlock block)
- Parameters:
data
- byte[]
generateData
protected void generateData()
getCategoryInfo
public CategoryInfo getCategoryInfo(int index)
- Returns:
- CategoryInfo
getData
public byte[] getData()
- Overrides:
getData
in class DLPBlock
- Returns:
- byte[]
getLastUniqueID
public byte getLastUniqueID()
- Returns:
- byte
setCategoryInfo
public void setCategoryInfo(CategoryInfo categoryinfo,
int index)
setLastUniqueID
public void setLastUniqueID(byte newLastUniqueID)
- Parameters:
newLastUniqueID
- byte
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
- java.lang.String