Class CollectedResourcesWriter


  • public class CollectedResourcesWriter
    extends java.lang.Object
    Writes resources into a collection.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addCollectable​(@NotNull Collectable collectable)
      Adds a Collectable resource.
      void write​(@NotNull net.sf.japi.swing.misc.Progress progress, @NotNull java.io.File collectedDirectory)
      Writes the resources into a collection.
      • Methods inherited from class java.lang.Object

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

      • CollectedResourcesWriter

        public CollectedResourcesWriter()
    • Method Detail

      • addCollectable

        public void addCollectable​(@NotNull
                                   @NotNull Collectable collectable)
        Adds a Collectable resource.
        Parameters:
        collectable - the collectable resource
      • write

        public void write​(@NotNull
                          @NotNull net.sf.japi.swing.misc.Progress progress,
                          @NotNull
                          @NotNull java.io.File collectedDirectory)
                   throws java.io.IOException
        Writes the resources into a collection.
        Parameters:
        progress - the progress to use
        collectedDirectory - the collected directory to write to
        Throws:
        java.io.IOException - if collection fails