Deprecated
Use org. instead
| Modifier and Type | Field and Description |
|---|---|
| private static final CoreMessageLogger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static 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 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 InputStream | |
| public static InputStream | |
| public static 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 CoreMessageLogger LOG | |
| ConfigHelper | back to summary |
|---|---|
| private ConfigHelper() | |
| findAsResource | back to summary |
|---|---|
| public static 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. | |
| getConfigStream | back to summary |
|---|---|
| public static InputStream getConfigStream(final String path) throws HibernateException Open an InputStream 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 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 URL as a java system resource. | |