FilesManager implementation


#1

Hi,

I’m trying to use Storage API but fall into this exception: Exception in thread "main" java.io.IOException: Cannot found an implementation of ej.util.filemanager.FilesManager
How could I find an implementation of this interface?
Could you suggest me one, please?

Thanks


#2

Hello @mesta,

Are you developing an application using a Virtual Device? In that case, the VD that you are using should already provide an implementation of filemanager (either filemanager-fs or filemanager-ram).

If you are developing a firmware, you can fetch either implementation in your module.ivy. For example:
<dependency org="ej.library.util" name="filemanager-fs" rev="[1.0.0-RC0,2.0.0-RC0[" conf="default,vdruntime->default"/>

Best regards,
Andy, MicroEJ