public class ThumbnailCondition extends Object implements StreamCondition
Constructor and Description |
---|
ThumbnailCondition(ThumbnailService thumbnailService) |
Modifier and Type | Method and Description |
---|---|
boolean |
feed(int b)
This method is called by the ConditionalOutputStream.
|
byte[] |
getBytes()
The ConditionOutputStream will call this method if the condition is
satisfied.
|
boolean |
isSatisfied()
Returns true if the condition is satisfied, false otherwise.
|
public ThumbnailCondition(ThumbnailService thumbnailService)
public boolean feed(int b)
StreamCondition
feed
in interface StreamCondition
public boolean isSatisfied()
StreamCondition
isSatisfied
in interface StreamCondition
public byte[] getBytes()
StreamCondition
getBytes
in interface StreamCondition
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.