Interface MappingTool.ImportExport

  • Enclosing class:
    MappingTool

    public static interface MappingTool.ImportExport
    Helper used to import and export mapping data.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean exportMappings​(JDBCConfiguration conf, java.lang.Class<?>[] act, boolean meta, Log log, java.io.Writer writer)
      Export mappings for the given classes based on the given arguments.
      boolean importMappings​(JDBCConfiguration conf, java.lang.Class<?>[] act, java.lang.String[] args, boolean meta, Log log, java.lang.ClassLoader loader)
      Import mappings for the given classes based on the given arguments.
    • Method Detail

      • importMappings

        boolean importMappings​(JDBCConfiguration conf,
                               java.lang.Class<?>[] act,
                               java.lang.String[] args,
                               boolean meta,
                               Log log,
                               java.lang.ClassLoader loader)
                        throws java.io.IOException
        Import mappings for the given classes based on the given arguments.
        Throws:
        java.io.IOException
      • exportMappings

        boolean exportMappings​(JDBCConfiguration conf,
                               java.lang.Class<?>[] act,
                               boolean meta,
                               Log log,
                               java.io.Writer writer)
                        throws java.io.IOException
        Export mappings for the given classes based on the given arguments.
        Throws:
        java.io.IOException