|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.util.io.ActionHeader
public class ActionHeader
Keeps the actionCode and Length of a specific action. To be used in the TaggedInputStream to return the actionCode and Length, and in the TaggedOutputStream to write them.
Constructor Summary | |
---|---|
ActionHeader(int actionCode,
long length)
Creates an action header |
Method Summary | |
---|---|
int |
getAction()
|
long |
getLength()
|
void |
setAction(int actionCode)
Sets the action code |
void |
setLength(long length)
Sets the length of this tag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionHeader(int actionCode, long length)
actionCode
- code for actionlength
- total length of the tagMethod Detail |
---|
public void setAction(int actionCode)
actionCode
- new action codepublic int getAction()
public void setLength(long length)
length
- new lengthpublic long getLength()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |