avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source ModifiableSource.java
Date Thu, 09 Jan 2003 08:56:11 GMT
cziegeler    2003/01/09 00:56:10

  Modified:    sourceresolve/src/java/org/apache/excalibur/source
                        ModifiableSource.java
  Log:
  Extending ModifiableSource
  
  Revision  Changes    Path
  1.3       +17 -1     jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/ModifiableSource.java
  
  Index: ModifiableSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/ModifiableSource.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ModifiableSource.java	15 Dec 2002 12:54:59 -0000	1.2
  +++ ModifiableSource.java	9 Jan 2003 08:56:10 -0000	1.3
  @@ -73,9 +73,25 @@
   	OutputStream getOutputStream();
   	
   	/**
  -	 * Delete the source
  +	 * Delete the source 
   	 * @return true if the source could be deleted
   	 */
   	boolean delete();
  +
  +    /**
  +     * Can the data sent to an <code>OutputStream</code> returned by
  +     * {@link #getOutputStream()} be cancelled ?
  +     *
  +     * @return true if the stream can be cancelled
  +     */
  +    boolean canCancel(OutputStream stream);
  +
  +    /**
  +     * Cancel the data sent to an <code>OutputStream</code> returned by
  +     * {@link #getOutputStream()}.
  +     * <p>
  +     * After cancel, the stream should no more be used.
  +     */
  +    void cancel(OutputStream stream) throws SourceException;
   	
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message