org.freehep.util.io
Class Action
java.lang.Object
|
+--org.freehep.util.io.Action
- Direct Known Subclasses:
- Action.Unknown, SWFAction
- public abstract class Action
- extends Object
Generic Action, to be used with the TagIn/OutputStreams.
An action can have an ActionCode, a length as well as parameters.
- Version:
- $Id: Action.java,v 1.3 2001/11/05 16:09:01 duns Exp $
- Author:
- Mark Donszelmann, Charles Loomis
Nested Class Summary |
static class |
Action.Unknown
Used for not recognized actions. |
Constructor Summary |
protected |
Action(int code)
|
Action
protected Action(int code)
read
public abstract Action read(int actionCode,
TaggedInputStream input,
int length)
throws IOException
IOException
write
public abstract void write(int actionCode,
TaggedOutputStream input)
throws IOException
IOException
getCode
public int getCode()
getName
public String getName()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2003 FreeHEP, All Rights Reserved.