public class Util
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
Util.ExampleProperties |
ExampleProperties represents the configuration
for the examples.
|
Constructor | Description |
---|---|
Util() |
Modifier and Type | Method | Description |
---|---|---|
static Util.ExampleProperties |
loadProperties() |
Read the configuration properties for the
example from the file Example.properties.
|
static java.io.InputStream |
openStream(java.lang.String fileName) |
Read a resource for an example.
|
public static Util.ExampleProperties loadProperties() throws java.io.IOException
java.io.IOException
- if one occurs while loading
the propertiespublic static java.io.InputStream openStream(java.lang.String fileName) throws java.io.IOException
fileName
- the name of the resourcejava.io.IOException
- if one occurs opening the
streamCopyright © 2013-2019 MarkLogic Corporation.