@FunctionalInterface public interface PictureProcessor
Modifier and Type | Method and Description |
---|---|
String |
process(String url,
Fighter fighter)
Process a http url of a picture (most likely the fighter picture) and return another string.
|
String process(String url, Fighter fighter) throws IOException
url
- the picture URLfighter
- the fighter to process, you should not need to modify the fighter data here.Fighter.picture
IOException
- if anything goes wrongCopyright © 2019. All rights reserved.