|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jSyncManager.API.Protocol.Util.VFS.SlotReference
A representation of a slot reference for use with devices with an expansion slot. This class is used by nearly all expansion manager functions. It provides a mechanism for identifying the slot being worked on.
| Field Summary | |
static int |
MEDIA_TYPE_COMPACT_FLASH
A type to denote the Conpact Flash media matching type ('cfsh'). |
static int |
MEDIA_TYPE_MEMORY_STICK
A type to denote the Memory Stick media matching type ('mstk'). |
static int |
MEDIA_TYPE_MULTIMEDIA_CARD
A type to denote the MultiMedia Card media matching type ('mmcd'). |
static int |
MEDIA_TYPE_PLUG_AND_PLAY
A type to denote the Plug and Play connector media matching type ('pnps'). |
static int |
MEDIA_TYPE_POSE_HOST
A type to denote the POSE Emulator media matching type ('pose'). |
static int |
MEDIA_TYPE_RAM_DISK
A type to denote the RAM Disk media matching type ('ramd'). |
static int |
MEDIA_TYPE_SECURE_DIGITAL
A type to denote the Secure Digital (SD) media matching type ('sdig'). |
static int |
MEDIA_TYPE_SMART_MEDIA
A type to denote the Smart Media media matching type ('smed'). |
static int |
MEDIA_TYPE_WILDCARD
A type to denote the wildcard media matching type ('wild'). |
| Constructor Summary | |
SlotReference(char i)
Constructs a new slot reference object. |
|
| Method Summary | |
char |
getSlotReferenceAsChar()
Retreives the integer representing this slot reference. |
void |
putToByteArray(byte[] buffer)
Puts the slot reference into an array of bytes. |
void |
putToByteArray(byte[] buffer,
int position)
Puts the slot reference into an array of bytes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int MEDIA_TYPE_WILDCARD
public static final int MEDIA_TYPE_MEMORY_STICK
public static final int MEDIA_TYPE_COMPACT_FLASH
public static final int MEDIA_TYPE_SECURE_DIGITAL
public static final int MEDIA_TYPE_MULTIMEDIA_CARD
public static final int MEDIA_TYPE_SMART_MEDIA
public static final int MEDIA_TYPE_RAM_DISK
public static final int MEDIA_TYPE_POSE_HOST
public static final int MEDIA_TYPE_PLUG_AND_PLAY
| Constructor Detail |
public SlotReference(char i)
i - the slot reference number.| Method Detail |
public char getSlotReferenceAsChar()
public void putToByteArray(byte[] buffer,
int position)
buffer - the byte array to write the slot reference to.position - the location to write to in the array.public void putToByteArray(byte[] buffer)
buffer - the byte array to write the slot reference to.
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||