org.apache.derby.iapi.services.loader
Interface JarReader

All Known Implementing Classes:
BasicDatabase

public interface JarReader

Abstract out the loading of JarFiles.


Method Summary
 java.lang.Object readJarFile(java.lang.String schemaName, java.lang.String sqlName)
          Load the contents of a Jarfile.
 

Method Detail

readJarFile

public java.lang.Object readJarFile(java.lang.String schemaName,
                                    java.lang.String sqlName)
                             throws StandardException
Load the contents of a Jarfile. The return is either an java.io.InputStream representing the contents of the JarFile or a java.io.File representing the location of the file. If the jar does not exist an exception is thrown.

Throws:
StandardException


Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.