org.jSyncManager.API.Protocol.Util
Class DLPExpansionCardInfo
java.lang.Objectorg.jSyncManager.API.Protocol.Util.DLPExpansionCardInfo
public class DLPExpansionCardInfo
extends java.lang.Object
A class to contain the information on an expansion card.
Expansion card information is available through a set of strings.
static int | HAS_STORAGE- A constant flag denoting that this card supports reading and writing sectors of data.
|
static int | READ_ONLY- A constant flag denoting that this card is read-only.
|
static int | SUPPORTS_DUMB_SERIAL- A constant flag denoting that this card supports a dumb serial interface.
|
DLPExpansionCardInfo(byte[] pkt)- Constructs a new DLPExpansionCardInfo object from the given data packet.
|
int | getCapabilityFlags()- Retrieves the capability flags bitmap.
|
String | getString(int index)- Retrieves the string at the given index.
|
int | getStringCount()- Retrieves the number of info strings contained in this object.
|
String | toString()- Converts this object to a human-readable String.
|
HAS_STORAGE
public static final int HAS_STORAGE
A constant flag denoting that this card supports reading and writing sectors of data.
READ_ONLY
public static final int READ_ONLY
A constant flag denoting that this card is read-only.
SUPPORTS_DUMB_SERIAL
public static final int SUPPORTS_DUMB_SERIAL
A constant flag denoting that this card supports a dumb serial interface.
DLPExpansionCardInfo
public DLPExpansionCardInfo(byte[] pkt)
Constructs a new DLPExpansionCardInfo object from the given data packet.
pkt - a data packet containing card information.
getCapabilityFlags
public int getCapabilityFlags()
Retrieves the capability flags bitmap.
- the capability flags bitmap.
getString
public String getString(int index)
Retrieves the string at the given index.
index - the index of the string to retrieve.
- the string at the selected index.
getStringCount
public int getStringCount()
Retrieves the number of info strings contained in this object.
- the number of info strings contained in this object.
toString
public String toString()
Converts this object to a human-readable String.
- this object to a human-readable String.