Class UrlResource
java.lang.Object
org.apache.maven.index.reader.resource.UrlResource
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- ResourceHandler.Resource
A 
ResourceHandler.Resource that represents a URL.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionread()Returns theInputStreamstream of the resource, if exists,nullotherwise.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.index.reader.ResourceHandler.Resourceclose
- 
Constructor Details- 
UrlResource
 
- 
- 
Method Details- 
readDescription copied from interface:ResourceHandler.ResourceReturns theInputStreamstream of the resource, if exists,nullotherwise. The stream should be closed by caller, otherwise resource leaks might be introduced.- Specified by:
- readin interface- ResourceHandler.Resource
- Throws:
- IOException
 
 
-