public static class ConfigurationSource.Resource extends Object implements AutoCloseable
Constructor and Description |
---|
Resource(InputStream inputStream,
URI uri) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InputStream |
getInputStream() |
long |
getLastModified() |
URI |
getURI() |
public Resource(InputStream inputStream, URI uri)
public InputStream getInputStream()
public URI getURI()
public long getLastModified() throws MalformedURLException, IOException
MalformedURLException
IOException
public void close() throws IOException
close
in interface AutoCloseable
IOException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.