5 import java.io.IOException;
8 import android.content.Context;
9 import android.util.Log;
35 }
catch (IOException e) {
36 Log.e(
"WebModelManager",
"I/O Exception during input stream creation for file " + Const.DEX_CLASSES_JARFILE
37 +
" in model " +
getModelDir() +
", loading from web location " + this.getModelURI(), e);
45 return "Reading remote model info";
ClassLoader getClassLoader()
Overrides the standard implementation as different class loaders (dex) are required within android...
final InputStream getInStream(String filename)
Returns an InputStream instance streaming the contents of the file given by filename.
static final String DEX_CLASSES_JARFILE
The file name within a model directory that contains any runtime-loadable classes.
A model manager implementation that allows to load models from web locations.
String getLoadingMessage()
A short message that writes "loading SD models" dependent on the actual instance. ...
Class that contains miscellaneous JaRMoS specific constants and static functions. ...
Utility class for providing class loaders that load from dex-jarfiles.
WebModelManager(URL rooturl, Context c)