Package eu.bandm.tools.util.files
Class SourceHabitats.FoundSource
java.lang.Object
eu.bandm.tools.util.files.SourceHabitats.FoundSource
- Enclosing class:
SourceHabitats
Represents the only one data source which has been successfully
found for one particular resource nam.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the habitat which was successfully searched.Get the input stream to read the resource which was found.Get the URL encoding of the input source which was found.
-
Constructor Details
-
FoundSource
Only constructor. On return, data is not yet complete.- Parameters:
habitat- where the source has been found
-
-
Method Details
-
getHabitat
Returns the habitat which was successfully searched.- Returns:
- the habitat which was successfully searched.
-
getInputStream
Get the input stream to read the resource which was found.- Returns:
- the input stream to read the resource which was found.
-
getLocation
Get the URL encoding of the input source which was found.- Returns:
- the URL encoding of the input source which was found.
-