1 17 package org.apache.excalibur.source; 18 19 import java.io.IOException ; 20 import java.io.InputStream ; 21 22 63 public interface Source 64 { 65 70 boolean exists(); 71 72 82 InputStream getInputStream() 83 throws IOException , SourceNotFoundException; 84 85 90 String getURI(); 91 92 100 String getScheme(); 101 102 111 SourceValidity getValidity(); 112 113 119 void refresh(); 120 121 128 String getMimeType(); 129 130 136 long getContentLength(); 137 138 145 long getLastModified(); 146 147 } 148 | Popular Tags |