private static final String COLLADA = "COLLADA";
@Override
public IModel readModel(URL url, List<URL> recordings, String instancePath) throws ModelInterpreterException
{
ModelWrapper collada = new ModelWrapper(instancePath);
try
{
Scanner scanner = new Scanner(url.openStream(), "UTF-8");
String colladaContent = scanner.useDelimiter("\\A").next();
scanner.close();
collada.wrapModel(COLLADA, colladaContent);
}
catch(IOException e)
{
throw new ModelInterpreterException(e);
}