Package net.sf.gridarta.model.resource
Class CollectedResourcesWriter
- java.lang.Object
-
- net.sf.gridarta.model.resource.CollectedResourcesWriter
-
public class CollectedResourcesWriter extends java.lang.ObjectWrites resources into a collection.
-
-
Constructor Summary
Constructors Constructor Description CollectedResourcesWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCollectable(@NotNull Collectable collectable)Adds aCollectableresource.voidwrite(@NotNull net.sf.japi.swing.misc.Progress progress, @NotNull java.io.File collectedDirectory)Writes the resources into a collection.
-
-
-
Method Detail
-
addCollectable
public void addCollectable(@NotNull @NotNull Collectable collectable)Adds aCollectableresource.- 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.IOExceptionWrites the resources into a collection.- Parameters:
progress- the progress to usecollectedDirectory- the collected directory to write to- Throws:
java.io.IOException- if collection fails
-
-