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.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final SourceHabitats.SourceHabitat
The habitat which was successfully searched.(package private) URL
The URL encoding of the input source which was found.(package private) InputStream
The input stream to read the resource which was found. -
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.
-
Field Details
-
habitat
The habitat which was successfully searched. -
stream
InputStream streamThe input stream to read the resource which was found. -
location
URL locationThe 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.
-