I am extracting the model through the following code:
PropEnum props[] = new PropEnum[]{PropEnum.searchPath, PropEnum.model, PropEnum.data };
QueryOptions opt = new QueryOptions();
opt.setDataEncoding(EncodingEnum.MIMECompressed);
BaseClass[] model = cmService.query(new SearchPathMultipleObject(packageSearchPath+"/model"), props, new Sort[]{}, opt);
The problem that i am having is that the file that is extracted is not a gzip file but when you go through the developer guide it says that it is:
Quote
MIMECompressed
Specifies that data may be placed in a MIME attachment, depending on the
request. The data is compressed using the gzip compression algorithm. This
method of transmitting the data must be supported by the server.
Basically i need to have the model compressed before it comes over since it is pretty big but then i need to be able to open it once i extract from the content store. I can extract by normal base64 encoding but here and there it blows up because the models are too large.
Any ideas?