Class StarGroupBinaryIO

  • All Implemented Interfaces:

    public class StarGroupBinaryIO
    extends java.lang.Object
    implements IStarGroupIO
    Loads and writes star groups
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<SceneGraphNode> readParticles​( in)
      Reads a single star group from the given input stream.
      void writeParticles​(java.util.List<SceneGraphNode> list, out)
      Writes the list to the output stream.
      void writeParticles​(java.util.List<SceneGraphNode> list, out, int version)  
      • Methods inherited from class java.lang.Object

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

      • StarGroupBinaryIO

        public StarGroupBinaryIO()
    • Method Detail

      • writeParticles

        public void writeParticles​(java.util.List<SceneGraphNode> list,
        Writes the list to the output stream. The list must contain a single star group.
        Specified by:
        writeParticles in interface IStarGroupIO
        list - The list with the star group to write
        out - The output stream to write to
      • readParticles

        public java.util.List<SceneGraphNode> readParticles​( in)
        Reads a single star group from the given input stream.
        Specified by:
        readParticles in interface IStarGroupIO
        in - The input stream to read the star group from
        A list with a single star group object