public class FileSystemPathHandler extends AbstractPathHandler
PathHandler that converts the path into a FileSystemResourceAccessor.PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED| Constructor and Description |
|---|
FileSystemPathHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority(String root)
Returns
Plugin.PRIORITY_DEFAULT for all paths except for ones that are for a non-"file:" protocol. |
ResourceAccessor |
getResourceAccessor(String root)
Parse the given path and return a
ResourceAccessor for it. |
InputStream |
open(String path)
Parse the given path and return an
InputStream for it. |
public int getPriority(String root)
Plugin.PRIORITY_DEFAULT for all paths except for ones that are for a non-"file:" protocol.public ResourceAccessor getResourceAccessor(String root)
PathHandlerResourceAccessor for it.public InputStream open(String path) throws IOException
PathHandlerInputStream for it.IOException - if the path is invalidCopyright © 2022 Liquibase.org. All rights reserved.