public class EzySimpleInputStreamLoader extends Object implements EzyInputStreamLoader
| Modifier and Type | Class and Description |
|---|---|
static class |
EzySimpleInputStreamLoader.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected EzyFileFetcher |
fileFetcher |
| Modifier | Constructor and Description |
|---|---|
|
EzySimpleInputStreamLoader() |
protected |
EzySimpleInputStreamLoader(EzySimpleInputStreamLoader.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static EzySimpleInputStreamLoader.Builder |
builder() |
protected File |
getFile(String filePath) |
InputStream |
load(String filePath) |
protected RuntimeException |
processException(Exception e) |
protected final EzyFileFetcher fileFetcher
public EzySimpleInputStreamLoader()
protected EzySimpleInputStreamLoader(EzySimpleInputStreamLoader.Builder builder)
public InputStream load(String filePath)
load in interface EzyInputStreamLoaderprotected RuntimeException processException(Exception e)
protected File getFile(String filePath) throws FileNotFoundException
FileNotFoundExceptionpublic static EzySimpleInputStreamLoader.Builder builder()
Copyright © 2023 Young Monkeys. All rights reserved.