Package org.apache.tomcat.util.file
Class ConfigurationSource.Resource
- java.lang.Object
- 
- org.apache.tomcat.util.file.ConfigurationSource.Resource
 
- 
- All Implemented Interfaces:
- java.lang.AutoCloseable
 - Enclosing interface:
- ConfigurationSource
 
 public static class ConfigurationSource.Resource extends java.lang.Object implements java.lang.AutoCloseableRepresents a resource: a stream to the resource associated with its URI.
- 
- 
Constructor SummaryConstructors Constructor Description Resource(java.io.InputStream inputStream, java.net.URI uri)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.io.InputStreamgetInputStream()longgetLastModified()java.net.URIgetURI()
 
- 
- 
- 
Method Detail- 
getInputStreampublic java.io.InputStream getInputStream() 
 - 
getURIpublic java.net.URI getURI() 
 - 
getLastModifiedpublic long getLastModified() throws java.net.MalformedURLException, java.io.IOException- Throws:
- java.net.MalformedURLException
- java.io.IOException
 
 - 
closepublic void close() throws java.io.IOException- Specified by:
- closein interface- java.lang.AutoCloseable
- Throws:
- java.io.IOException
 
 
- 
 
-