public class ActionHeader extends Object
Constructor and Description |
---|
ActionHeader(int actionCode,
long length)
Creates an action header
|
Modifier and Type | Method and Description |
---|---|
int |
getAction() |
long |
getLength() |
void |
setAction(int actionCode)
Sets the action code
|
void |
setLength(long length)
Sets the length of this tag
|
public ActionHeader(int actionCode, long length)
actionCode
- code for actionlength
- total length of the tagpublic void setAction(int actionCode)
actionCode
- new action codepublic int getAction()
public void setLength(long length)
length
- new lengthpublic long getLength()
Copyright © 2016. All rights reserved.