1 16 17 package org.springframework.core.io; 18 19 import java.io.File ; 20 import java.io.IOException ; 21 import java.net.URL ; 22 23 43 public interface Resource extends InputStreamSource { 44 45 48 boolean exists(); 49 50 56 boolean isOpen(); 57 58 63 URL getURL() throws IOException ; 64 65 70 File getFile() throws IOException ; 71 72 78 Resource createRelative(String relativePath) throws IOException ; 79 80 84 String getFilename(); 85 86 93 String getDescription(); 94 95 } 96 | Popular Tags |