1
2
3
4 package org.rcfaces.core.internal.content;
5
6 import java.io.IOException;
7 import java.io.InputStream;
8
9
10
11
12
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 }