throw new ResourceCreationException("This is no 8Bit Encoding data");
}
final External8BitEncodingData encData = (External8BitEncodingData) ob;
final External8BitEncodingCore encCore =
new External8BitEncodingCore(encData);
return new SimpleResource(data.getKey(), encCore, data.getVersion(manager));
}
catch (IOException e)
{
throw new ResourceLoadingException("Failed to load resource", e);
}