Class AnimationObjectsCollectable

  • All Implemented Interfaces:
    Collectable

    public class AnimationObjectsCollectable
    extends java.lang.Object
    implements Collectable
    a Collectable that creates the "animations" file. It also creates the editor helper file "animtree".
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void collect​(@NotNull net.sf.japi.swing.misc.Progress progress, @NotNull java.io.File collectedDirectory)
      Collects information.
      • Methods inherited from class java.lang.Object

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

      • AnimationObjectsCollectable

        public AnimationObjectsCollectable​(@NotNull
                                           @NotNull AnimationObjects animationObjects,
                                           @NotNull
                                           @NotNull java.lang.String animTreeFile)
        Creates a new instance.
        Parameters:
        animationObjects - the animation objects to be collected
        animTreeFile - the collected animation tree file
    • Method Detail

      • collect

        public void collect​(@NotNull
                            @NotNull net.sf.japi.swing.misc.Progress progress,
                            @NotNull
                            @NotNull java.io.File collectedDirectory)
                     throws java.io.IOException
        Collects information. Collects the Animations. The animation data is written to "animations". The tree information for the editor is written to "animtree".
        Specified by:
        collect in interface Collectable
        Parameters:
        progress - the progress to report progress to
        collectedDirectory - the destination directory to collect data to
        Throws:
        java.io.IOException - in case of I/O problems during collection