All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.nodeos.ProtocolSpec
| Summary |
public class ProtocolSpec
extends java.lang.Object
{
// Fields 1
private final Vector components;
// Constructors 2
ProtocolSpec();
ProtocolSpec(String) throws ProtocolSpec.FormatException;
// Methods 5
void addComponent(String);
int componentCount();
public boolean equals(Object);
String getComponent(int);
public String toString();
// Inner Classes 1
public static class ProtocolSpec.FormatException
}
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 |
· ProtocolSpec | Summary | Top |
ProtocolSpec()
Construct an empty spec
· ProtocolSpec | Summary | Top |
ProtocolSpec(String spec) throws ProtocolSpec.FormatException
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