Class SpringBootVFS
java.lang.Object
org.apache.ibatis.io.VFS
org.mybatis.spring.boot.autoconfigure.SpringBootVFS
public class SpringBootVFS
extends org.apache.ibatis.io.VFS
- Author:
- Hans Westerbeek, EddĂș MelĂ©ndez, Kazuki Shimizu
-
Field Summary
Fields inherited from class org.apache.ibatis.io.VFS
IMPLEMENTATIONS, USER_IMPLEMENTATIONS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid()
static void
setClassLoaderSupplier
(Supplier<ClassLoader> supplier) Set the supplier for providingClassLoader
to used.static void
setUrlDecodingCharset
(Charset charset) Set the charset for decoding an encoded URL string.Methods inherited from class org.apache.ibatis.io.VFS
addImplClass, getClass, getInstance, getMethod, getResources, invoke, list
-
Constructor Details
-
SpringBootVFS
public SpringBootVFS()
-
-
Method Details
-
isValid
public boolean isValid()- Specified by:
isValid
in classorg.apache.ibatis.io.VFS
-
list
- Specified by:
list
in classorg.apache.ibatis.io.VFS
- Throws:
IOException
-
setUrlDecodingCharset
Set the charset for decoding an encoded URL string.Default is system default charset.
- Parameters:
charset
- the charset for decoding an encoded URL string- Since:
- 2.3.0
-
setClassLoaderSupplier
Set the supplier for providingClassLoader
to used.Default is a returned instance from
ClassUtils.getDefaultClassLoader()
.- Parameters:
supplier
- the supplier for providingClassLoader
to used- Since:
- 3.0.2
-