public final class CliUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CliUtils.ForbiddenOk
Methods in this class are ignored by the forbiddenapis checks.
|
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
inputStream(String uri)
Get an input stream for a uri.
|
static OutputStream |
outputStream(String out)
Get an output stream for a file.
|
static Reader |
reader(String uri)
Build a reader for the uri.
|
static Writer |
writer(String uri)
Build a writer for the uri.
|
public static Reader reader(String uri) throws IOException
IOException - if it is thrown opening the files and suchpublic static InputStream inputStream(String uri) throws IOException
IOException - if it is thrown opening the files and suchpublic static Writer writer(String uri) throws IOException
IOException - if it is thrown opening the files and suchpublic static OutputStream outputStream(String out) throws IOException
IOException - if it is thrown opening the files and suchCopyright © 2016. All rights reserved.