public class UndefinedTag extends Tag
DEFAULT_TAG| Constructor and Description |
|---|
UndefinedTag()
Create Undefined Tag with 0 length.
|
UndefinedTag(int tagID,
int[] bytes)
Create Undefined Tag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getTagType()
This returns the type of block
|
Tag |
read(int tagID,
TaggedInputStream input,
int len)
This reads the information from the given input and returns a new Tag
|
String |
toString() |
void |
write(int tagID,
TaggedOutputStream output)
This writes the information to the given output
|
getName, getTag, getVersionpublic UndefinedTag()
public UndefinedTag(int tagID,
int[] bytes)
tagID - undefined tagIDbytes - bytes that follow the undefined tagpublic int getTagType()
TaggetTagType in class Tagpublic Tag read(int tagID, TaggedInputStream input, int len) throws IOException
Tagread in class TagtagID - id of the tag to readinput - stream to read fromlen - length to readIOException - if read failspublic void write(int tagID,
TaggedOutputStream output)
throws IOException
Tagwrite in class TagtagID - id of tag to writeoutput - stream to write toIOException - if write failsCopyright © 2016. All rights reserved.