org.freehep.graphicsio.cgm
Class CGMInputStream
java.lang.Object
java.io.InputStream
org.freehep.util.io.DecompressableInputStream
org.freehep.util.io.BitInputStream
org.freehep.util.io.ByteOrderInputStream
org.freehep.util.io.ByteCountInputStream
org.freehep.util.io.TaggedInputStream
org.freehep.graphicsio.cgm.CGMInputStream
- All Implemented Interfaces:
- DataInput
- public class CGMInputStream
- extends TaggedInputStream
This class extends the TaggedInputStream with several methods
to read TagHeaders. It is a dummy implementation at this time,
and only used for tagID analysis.
- Version:
- $Id: CGMInputStream.java,v 1.1 2003/12/02 23:40:29 duns Exp $
- Author:
- Mark Donszelmann
- Source Code:
- CGMInputStream.java
Methods inherited from class org.freehep.util.io.ByteOrderInputStream |
readAsciiZString, readBoolean, readByte, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readInt, readLine, readLong, readShort, readShort, readString, readUnsignedByte, readUnsignedByte, readUnsignedInt, readUnsignedInt, readUnsignedShort, readUnsignedShort, readUTF, skipBytes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_VERSION
public static int DEFAULT_VERSION
CGMInputStream
public CGMInputStream(InputStream is)
throws IOException
CGMInputStream
public CGMInputStream(InputStream is,
int version)
throws IOException
CGMInputStream
public CGMInputStream(InputStream is,
CGMTagSet tagSet)
throws IOException
readTagHeader
protected TagHeader readTagHeader()
throws IOException
- Description copied from class:
TaggedInputStream
- Decodes and returns the TagHeader, which includes a TagID and a length
- Specified by:
readTagHeader
in class TaggedInputStream
- Throws:
IOException
readActionHeader
protected ActionHeader readActionHeader()
throws IOException
- Description copied from class:
TaggedInputStream
- Decodes and returns the ActionHeader, which includes an actionCode and a length
- Specified by:
readActionHeader
in class TaggedInputStream
- Throws:
IOException
getVersion
public int getVersion()
Copyright © 2000-2004 FreeHEP, All Rights Reserved.