|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.cabo.share.io.URLInputStreamProvider
An InputStreamProvider for opening URLs.
| Constructor Summary | |
URLInputStreamProvider(java.net.URL url)
Create an URLInputStreamProvider. |
|
| Method Summary | |
java.lang.Object |
getCachedResult()
Returns the cached result from reading and parsing this provider. |
java.lang.String |
getDisplayName()
Returns the name of the target location, suitable for user display. |
java.lang.Object |
getIdentifier()
Returns an identifier object that uniquely identifies the target location. |
boolean |
hasSourceChanged()
Returns true if the underlying target has changed since the last call to openInputStream() |
java.io.InputStream |
openInputStream()
Return an InputStream for the target. |
void |
setCachedResult(java.lang.Object value)
Stores the cached result of reading and parsing this provider. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public URLInputStreamProvider(java.net.URL url)
| Method Detail |
public java.io.InputStream openInputStream()
throws java.io.IOException
InputStreamProvideropenInputStream in interface InputStreamProviderpublic java.lang.String getDisplayName()
InputStreamProvidergetDisplayName in interface InputStreamProviderpublic java.lang.Object getIdentifier()
InputStreamProviderObject identifierA = providerA.getIdentifier(); Object identifierB = providerB.getIdentifier();... then:
if (identifierA.equals(identifierB)) ...then the two providers must point to the same location.
getIdentifier in interface InputStreamProviderpublic boolean hasSourceChanged()
hasSourceChanged in interface InputStreamProviderpublic java.lang.Object getCachedResult()
InputStreamProvidergetCachedResult in interface InputStreamProvideroracle.cabo.share.io.InputStreamProviderCachingNameResolverpublic void setCachedResult(java.lang.Object value)
InputStreamProvidersetCachedResult in interface InputStreamProvideroracle.cabo.share.io.InputStreamProviderCachingNameResolver
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||