org.freehep.util.io
Class UndefinedTag
java.lang.Object
org.freehep.util.io.Tag
org.freehep.util.io.UndefinedTag
- public class UndefinedTag
- extends Tag
Tag to hold the data for an Undefined Tag for the TaggedIn/OutputStreams.
The data is read in and written as the number of bytes is known.
- Version:
- $Id: UndefinedTag.java,v 1.4 2002/02/27 22:05:06 duns Exp $
- Author:
- Mark Donszelmann, Charles Loomis
- Source Code:
- UndefinedTag.java
UndefinedTag
public UndefinedTag()
UndefinedTag
public UndefinedTag(int tagID,
int[] bytes)
getTagType
public int getTagType()
- Description copied from class:
Tag
- This returns the type of block
- Overrides:
getTagType
in class Tag
read
public Tag read(int tagID,
TaggedInputStream input,
int len)
throws IOException
- Description copied from class:
Tag
- This reads the information from the given input and returns a new Tag
- Specified by:
read
in class Tag
- Throws:
IOException
write
public void write(int tagID,
TaggedOutputStream output)
throws IOException
- Description copied from class:
Tag
- This writes the information to the given output
- Specified by:
write
in class Tag
- Throws:
IOException
toString
public String toString()
- Specified by:
toString
in class Tag
Copyright © 2000-2004 FreeHEP, All Rights Reserved.