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
  • Constructor Details

    • SpringBootVFS

      public SpringBootVFS()
  • Method Details

    • isValid

      public boolean isValid()
      Specified by:
      isValid in class org.apache.ibatis.io.VFS
    • list

      protected List<String> list(URL url, String path) throws IOException
      Specified by:
      list in class org.apache.ibatis.io.VFS
      Throws:
      IOException
    • setUrlDecodingCharset

      public static void setUrlDecodingCharset(Charset charset)
      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

      public static void setClassLoaderSupplier(Supplier<ClassLoader> supplier)
      Set the supplier for providing ClassLoader to used.

      Default is a returned instance from ClassUtils.getDefaultClassLoader().

      Parameters:
      supplier - the supplier for providing ClassLoader to used
      Since:
      3.0.2