View Javadoc

1   /*******************************************************************************
2    * Copyright (c) 2009 Ordina and committers to Mod4j
3    * All rights reserved. This program and the accompanying materials
4    * are made available under the terms of the Eclipse Public License v1.0
5    * which accompanies this distribution, and is available at
6    * http://www.eclipse.org/legal/epl-v10.html
7    *
8    * Contributors:
9    *     Ordina - initial implementation
10   *******************************************************************************/
11  package org.mod4j.dslcommon.io;
12  
13  import java.io.File;
14  
15  /**
16   * 
17   * @author anneke
18   * 
19   */
20  public interface IDirectoryVisitor {
21  
22      public Object visitDirectoryBefore(File directory);
23  
24      public Object visitDirectoryAfter(File directory);
25  
26      public Object visitFile(File file) throws Exception;
27  
28  }