On 3/29/05 5:25 PM, "Chris" <[EMAIL PROTECTED]> wrote:

>>If I set the convertor to be SYLK then the Java code,
>>xstorable.storeAsURL(url, propertyvalue) throws an IOException. Is there
>>some other trick involved?
>>    
>>
Here are a couple of possibilities. If you are trying to overwrite an
existing document using storeAsURL and you don't set the overwrite property
to true I think it throws an exception. Also StoreAsURL sets the document's
modified attribute to false updates the media descriptor of the document
with the parameters passed in. If you are using an export filter I'm not
sure what it will do in that case.

> The same thing happens when I do that.
> 
> BTW, what is the difference between storeAsURL and storeToURL?
> 
StoreAsURL stores a copy of the loaded document and sets the modified
attribute to false and updates the documents media descriptor with the new
location. Works like the "Save As" command. The StoreToURL saves a copy of
the document and doesn't touch the document, like the "Save a copy as"
command.

Hope that helps.

- Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to