To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62379





------- Additional comments from [EMAIL PROTECTED] Tue Feb 21 04:58:55 -0800 
2006 -------
Here's some minimal sample code ...
/rk

--------------------------------------------------------------
import java.io.*;
import com.sun.star.comp.beans.*;

public class ReadWriteFile {
    public static void main(String args[]) {
        OOoBean aBean = new OOoBean(); 
         try {
            File f = new File("d:/rk/a.odp"); 
            String myUrl = "file:///"+f.getAbsolutePath(); 
            System.out.println("before aBean.loadFromURL()");
            aBean.loadFromURL(myUrl, null);
            
             File f1 = new File("d:/rk/a1.odp"); 
             String myUrl_1 = "file:///"+f1.getAbsolutePath(); 
             aBean.storeToURL(myUrl_1, null);
            
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to