View Javadoc

1   /*
2    * $Id: IFileBuffer.java,v 1.1 2007/10/30 13:46:42 oeuillot Exp $
3    */
4   package org.rcfaces.core.internal.content;
5   
6   import java.io.IOException;
7   import java.io.InputStream;
8   
9   /**
10   * 
11   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
12   * @version $Revision: 1.1 $ $Date: 2007/10/30 13:46:42 $
13   */
14  public interface IFileBuffer {
15  
16      String getName();
17  
18      void initializeRedirection(String url) throws IOException;
19  
20      String getRedirection();
21  
22      int getSize();
23  
24      boolean isErrored();
25  
26      void setErrored();
27  
28      boolean isInitialized();
29  
30      InputStream getContent() throws IOException;
31  
32      String getContentType();
33  
34      long getModificationDate();
35  
36      String getHash();
37  
38      String getETag();
39  }