User: kz Date: 2008-03-05 17:22:40+0000 Modified: dba/reportdesign/java/com/sun/star/report/InputRepository.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]: InputRepository.java Url: http://dba.openoffice.org/source/browse/dba/reportdesign/java/com/sun/star/report/InputRepository.java?r1=1.2&r2=1.3 Delta lines: +37 -27 --------------------- --- InputRepository.java 2007-07-09 11:56:03+0000 1.2 +++ InputRepository.java 2008-03-05 17:22:37+0000 1.3 @@ -33,7 +33,6 @@ * MA 02111-1307 USA * ************************************************************************/ - package com.sun.star.report; import java.io.InputStream; @@ -53,6 +52,7 @@ */ public interface InputRepository { + /** * Returns a unique identifier for this repository. Two repositories accessing * the same location should return the same id. The identifier must never @@ -64,6 +64,14 @@ public InputStream createInputStream(String name) 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 InputRepository openInputRepository(final String name) throws IOException; + /** * This returns an version number for the given resource. Return zero, if * the resource is not versionable, else return a unique number for each version. @@ -73,9 +81,11 @@ * @param name the name of the resource * @return the version number */ - public long getVersion (String name); + public long getVersion(String name); + + public boolean exists(String name); - public boolean exists (String name); + public boolean isReadable(String name); - public boolean isReadable (String name); + public void closeInputRepository(); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
