Documentation of 'org.freehep.util.io.ActionHeader' Java class
ActionHeader
org.freehep.util.io

Class ActionHeader



  • public class ActionHeader
    extends java.lang.Object
    Keeps the actionCode and Length of a specific action. To be used in the TaggedInputStream to return the actionCode and Length, and in the TaggedOutputStream to write them.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ActionHeader(int actionCode, long length)
      Creates an action header
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActionHeader

        public ActionHeader(int actionCode,
                            long length)
        Creates an action header
        Parameters:
        actionCode - code for action
        length - total length of the tag
    • Method Detail

      • setAction

        public void setAction(int actionCode)
        Sets the action code
        Parameters:
        actionCode - new action code
      • getAction

        public int getAction()
        Returns:
        action code
      • setLength

        public void setLength(long length)
        Sets the length of this tag
        Parameters:
        length - new length
      • getLength

        public long getLength()
        Returns:
        length of this tag

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.