public class InputResourceUtility extends Object
| Modifier and Type | Method and Description |
|---|---|
static Optional<InputResource> |
createInputResource(String inputResourceName)
Creates an input resource from the classpath, or from the file system.
|
static Reader |
wrapReader(String description,
Reader reader,
boolean shouldClose) |
static Writer |
wrapWriter(String description,
Writer writer,
boolean shouldClose) |
public static Optional<InputResource> createInputResource(String inputResourceName)
inputResourceName - Name of input resource.Copyright © 2000-2022 Sualeh Fatehi. All rights reserved.