User: kz Date: 2008-03-05 17:23:49+0000 Modified: dba/reportdesign/java/com/sun/star/report/OutputRepository.java
Log: INTEGRATION: CWS rptchart01_DEV300 (1.2.70); FILE MERGED 2008/02/20 10:52:54 oj 1.2.70.2: format changes 2008/02/13 07:04:21 oj 1.2.70.1: #i85225# impl chart readhandler and oleproducer File Changes: Directory: /dba/reportdesign/java/com/sun/star/report/ ====================================================== File [changed]: OutputRepository.java Url: http://dba.openoffice.org/source/browse/dba/reportdesign/java/com/sun/star/report/OutputRepository.java?r1=1.2&r2=1.3 Delta lines: +31 -19 --------------------- --- OutputRepository.java 2007-07-09 11:56:03+0000 1.2 +++ OutputRepository.java 2008-03-05 17:23:46+0000 1.3 @@ -33,7 +33,6 @@ * MA 02111-1307 USA * ************************************************************************/ - package com.sun.star.report; import java.io.OutputStream; @@ -47,6 +46,7 @@ */ public interface OutputRepository { + /** * Creates an output stream for writing the data. If there is an entry with * that name already contained in the repository, try to overwrite it. @@ -59,9 +59,21 @@ * @return the outputstream * @throws IOException if opening the stream fails */ - public OutputStream createOutputStream (String name, String mimeType) throws IOException; + public OutputStream createOutputStream(String name, String mimeType) throws IOException; + + /** allows to acces sub repositories inside this repository + * + * @param name describes the path to the sub repository + * @return the sub repository + * @throws java.io.IOException when the sub repository doesn't exist. + */ + public OutputRepository openOutputRepository(final String name) throws IOException; + + public boolean exists(String name); + + public boolean existsStorage(String name); - public boolean exists (String name); - public boolean isWritable (String name); + public boolean isWritable(String name); + public void closeOutputRepository(); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
