View Javadoc

1   /*
2    * $Id: IResolvedContent.java,v 1.4 2007/11/29 12:58:11 oeuillot Exp $
3    */
4   package org.rcfaces.core.internal.contentStorage;
5   
6   import java.io.IOException;
7   import java.io.InputStream;
8   import java.io.Serializable;
9   
10  import org.rcfaces.core.internal.lang.StringAppender;
11  
12  /**
13   * 
14   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
15   * @version $Revision: 1.4 $ $Date: 2007/11/29 12:58:11 $
16   */
17  public interface IResolvedContent extends IResourceKey, Serializable {
18  
19      boolean isErrored();
20  
21      boolean isProcessAtRequest();
22  
23      int getLength();
24  
25      long getModificationDate();
26  
27      String getURLSuffix();
28  
29      String getContentType();
30  
31      InputStream getInputStream() throws IOException;
32  
33      String getHash();
34  
35      String getETag();
36  
37      boolean isVersioned();
38  
39      void setVersioned(boolean versioned);
40  
41      void appendHashInformations(StringAppender sa);
42  }