| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static final URL | Returns: An appropriate URL or null.The path representing the config location. path)Try to locate a local URL representing the incoming path. |
| public static final Properties | Returns: The loaded properties instance.The path representing the config location. path)Loads a properties instance based on the data at the incoming config location. |
| public static final InputStream | Returns: An input stream to the requested config resource.The path representing the config location. path)Open an InputStream to the URL represented by the incoming path. |
| public static final Reader | Returns: An input stream to the requested config resource.The path representing the config location. path)Open an Reader to the URL represented by the incoming path. |
| public static InputStream | |
| public static InputStream | |
| public static final URL | Returns: An appropriate URL or null.The path representing the config location. path)Try to locate a local URL representing the incoming path. |
| log | back to summary |
|---|---|
| private static final Logger log | |
| ConfigHelper | back to summary |
|---|---|
| private ConfigHelper() | |
| findAsResource | back to summary |
|---|---|
| public static final URL findAsResource(final String path) Try to locate a local URL representing the incoming path. This method only attempts to locate this URL as a java system resource. | |
| getConfigProperties | back to summary |
|---|---|
| public static final Properties getConfigProperties(String path) throws HibernateException Loads a properties instance based on the data at the incoming config location.
| |
| getConfigStream | back to summary |
|---|---|
| public static final InputStream getConfigStream(final String path) throws HibernateException Open an InputStream to the URL represented by the incoming path. First makes a call
to
| |
| getConfigStreamReader | back to summary |
|---|---|
| public static final Reader getConfigStreamReader(final String path) throws HibernateException Open an Reader to the URL represented by the incoming path. First makes a call
to
| |
| getResourceAsStream | back to summary |
|---|---|
| public static InputStream getResourceAsStream(String resource) | |
| getUserResourceAsStream | back to summary |
|---|---|
| public static InputStream getUserResourceAsStream(String resource) | |
| locateConfig | back to summary |
|---|---|
| public static final URL locateConfig(final String path) Try to locate a local URL representing the incoming path. The first attempt assumes that the incoming path is an actual URL string (file://, etc). If this does not work, then the next attempts try to locate this UURL as a java system resource. | |