|
DJDoc v.1.0.0b-1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.djdoc.app.Configuration
public class Configuration
The class Configuration
is a utility class used for initially
loading all data of an API into the database.
Method Summary | |
---|---|
static void |
configure(java.io.File file,
ApiEntity api)
This method reads API data from an API configuration file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void configure(java.io.File file, ApiEntity api) throws ConfigurationException
BusinessObject
s and saves
them in the database.
file
- The API configuration file. It is expected to be in the form
of a property file and should define values for the following keys:
description
path
api
- A new, uninitialized ApiEntity
object
ConfigurationException
- A ConfigurationException
is
thrown if one of the following holds:
file
parameter is null, is not a File
,
does not exist or is not readable,path
entry,
|
DJDoc v.1.0.0b-1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |