개발/Spring2022. 2. 8. 18:07[Spring] Resource

1. Resource 파일이나 설정 값에 접근하기 위한 인터페이스 public interface Resource extends InputStreamSource { boolean exists(); boolean isReadable(); boolean isOpen(); boolean isFile(); URL getURL() throws IOException; URI getURI() throws IOException; File getFile() throws IOException; ReadableByteChannel readableChannel() throws IOException; long contentLength() throws IOException; long lastModified() throws IOEx..

image