Resources

Resource components implement org.nasdanika.common.ConsumerFactory<org.nasdanika.common.resources.BinaryEntityContainer>. Their execute() methods takes an instance of BinaryEntityContainer and may manipulate zero or more resources in the container.

To manipulate resources in-memory use org.nasdanika.common.resources.EphemeralBinaryEntityContainer, to work with file system files and directories use org.nasdanika.common.resources.FileSystemContainer. In Eclipse environment you can use org.nasdanika.eclipse.resources.EclipseContainer. If none of those implementations fits your needs you can create your own implementation of BinaryEntityContainer.