cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@apache.org>
Subject RE: Defining Source Interfaces
Date Wed, 08 Jan 2003 16:01:41 GMT

> > About the move() and copy() methods, I don't know if they should be kept
> > in the new incarnation of this interface.
> >
> I don't think that they are important. A copy is a read/write action and
> a move a read/write/delete action. We could make an utility class providing
> support for it (and this would allow an inter source moving. wow!).

The problem is, if you are using getInputStream/getOutputSteam to copy
a file in a slide repository, that all metadata informations get lost. On
the other hand, if you are using an external SourceUtil to copy a file,
you can't hide all implementation details.

Stephan.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message