|
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.InputStreamProviderProxy
Proxying class for InputStreamProviders. Subclassers must override getProvider().
Constructor Summary | |
InputStreamProviderProxy()
Create an InputStreamProviderProxy. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
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. |
protected abstract InputStreamProvider |
getProvider()
Return the provider being proxied. |
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InputStreamProviderProxy()
Method Detail |
protected abstract InputStreamProvider getProvider()
public java.io.InputStream openInputStream() throws java.io.IOException
InputStreamProvider
openInputStream
in interface InputStreamProvider
public java.lang.String getDisplayName()
InputStreamProvider
getDisplayName
in interface InputStreamProvider
public java.lang.Object getIdentifier()
InputStreamProvider
Object 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 InputStreamProvider
public boolean hasSourceChanged()
InputStreamProvider
hasSourceChanged
in interface InputStreamProvider
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.Object getCachedResult()
InputStreamProvider
getCachedResult
in interface InputStreamProvider
oracle.cabo.share.io.InputStreamProvider
CachingNameResolver
public void setCachedResult(java.lang.Object value)
InputStreamProvider
setCachedResult
in interface InputStreamProvider
oracle.cabo.share.io.InputStreamProvider
CachingNameResolver
|
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 |