com.bea.wli.sb.sources
Interface SingleUseSource

All Superinterfaces:
Source
All Known Implementing Classes:
StreamSource

public interface SingleUseSource
extends Source

Primarily a marker interface indicating that a type of Source that can only be consumed once. It also provides one helper method that can be used to determine if the Source is still "consumable" (i.e. valid).


Field Summary
 
Fields inherited from interface com.bea.wli.sb.sources.Source
DEFAULT_CHARACTER_SET_ENCODING
 
Method Summary
 boolean isConsumed()
          Indicates if the Source has already been consumed
 
Methods inherited from interface com.bea.wli.sb.sources.Source
getInputStream, writeTo
 

Method Detail

isConsumed

boolean isConsumed()
Indicates if the Source has already been consumed

Returns: