T
- type of the resource to be accepted.public interface ResourceConsumer<T>
IOException
s.Modifier and Type | Method and Description |
---|---|
void |
accept(T resource)
Accept a resource to be consumed.
|
void accept(T resource) throws java.io.IOException
resource
- to be consumed.java.io.IOException
- during the consumption of the resource.Copyright © 2014-2019 Real Logic Ltd. All Rights Reserved.