Gridarta Editor
net.sf.gridarta.model.resource.CollectedResourcesWriter Class Reference

Writes resources into a collection. More...

+ Collaboration diagram for net.sf.gridarta.model.resource.CollectedResourcesWriter:

Public Member Functions

void addCollectable (@NotNull final Collectable collectable)
 Adds a Collectable resource. More...
 
void write (@NotNull final Progress progress, @NotNull final File collectedDirectory) throws IOException
 Writes the resources into a collection. More...
 

Private Attributes

final Collection< Collectablecollectables = new ArrayList<>()
 All Collectable resources. More...
 

Detailed Description

Writes resources into a collection.

Author
Andreas Kirschbaum

Definition at line 34 of file CollectedResourcesWriter.java.

Member Function Documentation

◆ addCollectable()

void net.sf.gridarta.model.resource.CollectedResourcesWriter.addCollectable ( @NotNull final Collectable  collectable)

◆ write()

void net.sf.gridarta.model.resource.CollectedResourcesWriter.write ( @NotNull final Progress  progress,
@NotNull final File  collectedDirectory 
) throws IOException

Writes the resources into a collection.

Parameters
progressthe progress to use
collectedDirectorythe collected directory to write to
Exceptions
IOExceptionif collection fails

Definition at line 56 of file CollectedResourcesWriter.java.

Referenced by net.sf.gridarta.var.daimonin.resource.DefaultResources.writeCollectedInt(), net.sf.gridarta.var.atrinik.resource.DefaultResources.writeCollectedInt(), and net.sf.gridarta.var.crossfire.resource.DefaultResources.writeCollectedInt().

+ Here is the caller graph for this function:

Member Data Documentation

◆ collectables

final Collection<Collectable> net.sf.gridarta.model.resource.CollectedResourcesWriter.collectables = new ArrayList<>()
private

All Collectable resources.

Definition at line 40 of file CollectedResourcesWriter.java.


The documentation for this class was generated from the following file: