All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.nodeos.pj_ProtocolSpec
Summary |
class pj_ProtocolSpec extends java.lang.Object { // Fields 1 private final Vector components; // Constructors 2 pj_ProtocolSpec(); pj_ProtocolSpec(String) throws ProtocolSpecFormatException; // Methods 5 void addComponent(String); int componentCount(); public boolean equals(Object); String getComponent(int); public String toString(); }
NodeOS protocol spec parser, it takes formatted strings and splits apart their protocol components.
Fields |
· components | Summary | Top |
private final Vector components
Contains the strings that make up the protocol format
Constructors |
· pj_ProtocolSpec | Summary | Top |
pj_ProtocolSpec()
Construct an empty spec
· pj_ProtocolSpec | Summary | Top |
pj_ProtocolSpec(String spec) throws ProtocolSpecFormatException
Construct a spec from a formatted string
Methods |
· componentCount | Summary | Top |
int componentCount()
Return the number of components in the protocol spec
· getComponent | Summary | Top |
String getComponent(int index)
Return the protocol string for a specific index
· addComponent | Summary | Top |
void addComponent(String protocol)
Add a protocol string component
· equals | Summary | Top |
public boolean equals(Object o)
- Overrides:
- equals in class Object
· toString | Summary | Top |
public String toString()
- Overrides:
- toString in class Object
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7