Class MigrationXmlReader

java.lang.Object
io.ebeaninternal.dbmigration.migrationreader.MigrationXmlReader

public class MigrationXmlReader extends Object
Reads a migration xml document returning the Migration.
  • Method Details

    • read

      public static Migration read(String resourcePath)
      Read and return a Migration from an xml document at the given resource path.
    • read

      public static Migration read(File migrationFile)
      Read and return a Migration from a migration xml file.
    • read

      public static Migration read(InputStream is)
      Read and return a Migration from an xml document.