java.lang.Object
com.github.hypfvieh.db.H2Util

public class H2Util extends Object
Utility methods to work with H2 database files.
Seit:
1.2.1 - 2024-03-21
Autor:
hypfvieh
  • Konstruktordetails

    • H2Util

      public H2Util()
  • Methodendetails

    • findH2Version

      public static H2Util.H2VersionInfo findH2Version(InputStream _input) throws IOException
      Reads the given stream and tries to extract the version information.
      If version information cannot be determined, null is returned.

      Given stream will be closed after operation.

      Parameter:
      _input - input stream to H2 file
      Gibt zurück:
      version info or null if version cannot be found
      Löst aus:
      IOException - when read operation fails