cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gcas...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/components/repository Repository.java
Date Sun, 04 Apr 2004 14:57:46 GMT
gcasper     2004/04/04 07:57:46

  Modified:    src/blocks/repository/java/org/apache/cocoon/components/repository
                        Repository.java
  Log:
  Added createResource method
  
  Revision  Changes    Path
  1.3       +10 -0     cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/components/repository/Repository.java
  
  Index: Repository.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/components/repository/Repository.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Repository.java	29 Mar 2004 23:24:18 -0000	1.2
  +++ Repository.java	4 Apr 2004 14:57:45 -0000	1.3
  @@ -90,6 +90,16 @@
       boolean saveContent(String uri, Source source) throws ProcessingException;
   
       /**
  +     * create a new resource
  +     * 
  +     * @param uri  the uri of the resource.
  +     * @param content  the content to initialize the resource with.
  +     * @return  a boolean indicating success.
  +     * @throws ProcessingException
  +     */
  +    boolean createResource(String uri, String content) throws ProcessingException;
  +
  +    /**
        * copy a resource
        * 
        * @param uri  the uri of the resource.
  
  
  

Mime
View raw message