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