Class Overview
A simple implementation of AvatarSupplier which accepts the InputStream containing the avatar's
 image data as a constructor parameter.
 
Summary
| Public Methods | 
|---|
	 
    
        | @Nonnull
            
            
            
            
            
            
            InputStream | open() Retrieves the InputStreamprovided when this supplier was constructed. | 
 
Public Constructors
    
      
        
        public
        
        
        
        
        
      
      SimpleAvatarSupplier
      (InputStream inputStream)
    
      
    
      
    
      
  Constructs a new SimpleAvatarSupplier which will return the provided
 InputStream.
      Parameters
      
        
          | inputStream | the input stream for this supplier | 
      
   
  
     
 
    
      
        
        public
        
        
        
        
        
      
      SimpleAvatarSupplier
      (String contentType, InputStream inputStream)
    
      
    
      
    
      
  Constructs a new SimpleAvatarStream with the specified contentType which will
 return the provided InputStream.
      Parameters
      
        
          | contentType | the declared content type for the avatar, which may be nullif not known | 
        
          | inputStream | the input stream for this supplier | 
      
   
  
     
 
Public Methods
    
      
        
        @Nonnull
        
        public
        
        
        
        
        InputStream
      
      open
      ()
    
      
    
      
    
    
    
      
  Retrieves the InputStream provided when this supplier was constructed.
      Returns
      - the input stream containing the avatar data