com.metamatrix.dqp.embedded.configuration
Class VDBConfigurationWriter

java.lang.Object
  extended by com.metamatrix.dqp.embedded.configuration.VDBConfigurationWriter

public class VDBConfigurationWriter
extends java.lang.Object

Utility to export VDBs to files or streams.

Since:
4.3

Constructor Summary
VDBConfigurationWriter()
           
 
Method Summary
static void deleteVDB(VDBArchive vdb, java.net.URL url)
          Delete the VDB specified by the URL
static void write(VDBArchive vdb, java.net.URL vdbFileURL)
          Convert the supplied VDBDefn object into a VDB archive where the DEF file and VDB file are inside single file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VDBConfigurationWriter

public VDBConfigurationWriter()
Method Detail

write

public static void write(VDBArchive vdb,
                         java.net.URL vdbFileURL)
                  throws MetaMatrixComponentException
Convert the supplied VDBDefn object into a VDB archive where the DEF file and VDB file are inside single file. Then write to the supplied file

Parameters:
vdb -
vdbFileURL -
Throws:
ApplicationInitializationException
MetaMatrixComponentException
Since:
4.3

deleteVDB

public static void deleteVDB(VDBArchive vdb,
                             java.net.URL url)
                      throws MetaMatrixComponentException
Delete the VDB specified by the URL

Parameters:
vdb -
url -
Throws:
MetaMatrixComponentException
Since:
4.3


Copyright © 2009. All Rights Reserved.