View Javadoc

1   /*
2    * Validator.java
3    *
4    * Created on 10 January 2007, 22:22
5    *
6    * To change this template, choose Tools | Template Manager
7    * and open the template in the editor.
8    */
9   
10  package org.wiztools.jenkryptor.validation;
11  
12  import java.io.File;
13  
14  /***
15   *
16   * @author subhash
17   */
18  public abstract class Validator {
19      protected Validator next;
20      
21      public Validator setNext(Validator validator){
22          this.next = validator;
23          return this;
24      }
25      
26      public abstract void validate(File[] files) throws ValidatorException;
27  }