public interface ResourceAccessor
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource[] |
getSortedResourceList(Platform platform)
Returns list of resources matching database patches for certain resource name.
|
String |
getTextContentFromResource(String resourcePath)
Returns string contents of the resource by its name.
|
List<String> |
getTokenizedSQLScriptContentFromResource(String resourcePath)
Parses SQL script to individual SQL commands.
|
org.springframework.core.io.Resource[] getSortedResourceList(Platform platform)
platform - ResourceAccessors know path where patches are storedList<String> getTokenizedSQLScriptContentFromResource(String resourcePath)
resourcePath - name of patch which we want separatedCopyright © 2020 FG Forrest, a.s.. All rights reserved.