1 48 49 package org.jpublish.view; 50 51 import java.io.IOException ; 52 import java.io.InputStream ; 53 import java.io.Reader ; 54 55 60 61 public interface ContentSource { 62 63 69 70 public long getLastModified() throws IOException ; 71 72 78 79 public InputStream getInputStream() throws IOException ; 80 81 87 88 public Reader getReader() throws IOException ; 89 90 98 99 public Reader getReader(String encoding) throws IOException ; 100 101 } 102 | Popular Tags |