com.syncbuilder.storage
Class Resource

java.lang.Object
  |
  +--com.syncbuilder.storage.Block
        |
        +--com.syncbuilder.storage.Resource
Direct Known Subclasses:
Resource

public abstract class Resource
extends Block

The base-class for representations of a resource, as contained in a resource-database. A resource-database is typically created on the host and then transferred to the Palm device. Its contents typically remain unchanged. The resources can be addressed through a resource-ID.

See Also:
Record, Serialized Form

Fields inherited from class com.syncbuilder.storage.Block
raw
 
Constructor Summary
Resource()
           
Resource(byte[] contents, Char4 type, int id, int index)
           
 
Method Summary
 int getID()
           
 int getIndex()
           
 Char4 getType()
           
 java.lang.String toString()
           
 
Methods inherited from class com.syncbuilder.storage.Block
describe, fill, pack, unpack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resource

public Resource()

Resource

public Resource(byte[] contents,
                Char4 type,
                int id,
                int index)
Method Detail

getType

public Char4 getType()

getID

public int getID()

getIndex

public int getIndex()

toString

public java.lang.String toString()
Overrides:
toString in class Block


This material is Copyrighted (C) 1999 by Tilo Christ. All Rights Reserved.