public static InMemoryJarfile loadInMemoryJarFile ( byte [ ] catalogBytes ) throws IOException { assert ( catalogBytes != null ) ; InMemoryJarfile jarfile = new InMemoryJarfile ( catalogBytes ) ; if ( ! jarfile . containsKey ( CATALOG_FILENAME ) ) { throw new IOException ( "Database catalog not found - please build your application using the current version of VoltDB." ) ; } return jarfile ; }
Load an in - memory catalog jar file from jar bytes .