1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.struts.flow.core.source;
18
19 /***
20 * A modifiable traversable source. This adds to {@link ModifiableSource} the
21 * ability to create a directory.
22 *
23 * @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
24 * @version CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:26 $
25 */
26 public interface ModifiableTraversableSource extends ModifiableSource, TraversableSource
27 {
28 /***
29 * If it doesn't already exist, ensure this source is traversable
30 * (equivalent to <code>File.mkdirs()</code>)
31 * <p>
32 * If the source already exists, this method does nothing if it's already
33 * traversable, and fails otherwise.
34 */
35 public void makeCollection() throws SourceException;
36
37 }
38
39