edu.dhbw.andar.util
Class IO

java.lang.Object
  extended by edu.dhbw.andar.util.IO

public class IO
extends java.lang.Object


Constructor Summary
IO()
           
 
Method Summary
static void transferFilesToPrivateFS(java.io.File base, Resources res)
          transfers required files to the the private file system part in order to be access them from C Code.
static void transferFileToPrivateFS(java.io.File base, java.lang.String assetFileName, Resources res)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IO

public IO()
Method Detail

transferFilesToPrivateFS

public static void transferFilesToPrivateFS(java.io.File base,
                                            Resources res)
                                     throws java.io.IOException
transfers required files to the the private file system part in order to be access them from C Code. required, as you can not access the files of the apk package directly

Throws:
java.io.IOException

transferFileToPrivateFS

public static void transferFileToPrivateFS(java.io.File base,
                                           java.lang.String assetFileName,
                                           Resources res)
                                    throws java.io.IOException
Parameters:
base -
assetFileName - filename of the file in the assets folder
res -
Throws:
java.io.IOException