|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.esupportail.portal.channels.CStockage.channelAction.injac.config.InjacConfig
Id: InjacConfig.java,v 1.0
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: InjacConfig
Original Author: Yohan Colmant
This class parse the injac.xml config file to return all parameters
| Field Summary | |
private java.lang.String |
configFilePath
|
protected static Log |
log
Logger object |
private java.util.ArrayList |
metadataProfiles
|
private java.util.ArrayList |
renderingTypes
|
static InjacConfig |
singleton
|
private java.lang.String |
url
|
| Constructor Summary | |
InjacConfig()
Constructor |
|
| Method Summary | |
static InjacConfig |
getInstance()
Used as a singleton for the injac config |
java.util.ArrayList |
getMetadataProfiles()
return the metadataProfiles list |
java.util.ArrayList |
getRenderingTypes()
return the renderingTypes list |
void |
setMetadataProfiles(MetadataFileProfile metadataProfile)
add a new metadataProfile to the list |
void |
setRenderingTypes(RenderingType renderingType)
add a new renderingType to the list |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final Log log
public static InjacConfig singleton
private java.lang.String url
private java.util.ArrayList metadataProfiles
private java.util.ArrayList renderingTypes
private java.lang.String configFilePath
| Constructor Detail |
public InjacConfig()
throws PropertiesException
| Method Detail |
public static InjacConfig getInstance()
throws PropertiesException
PropertiesException
public java.util.ArrayList getMetadataProfiles()
throws PropertiesException
PropertiesExceptionpublic void setMetadataProfiles(MetadataFileProfile metadataProfile)
metadataProfile - the metadataProfile to add
public java.util.ArrayList getRenderingTypes()
throws PropertiesException
PropertiesExceptionpublic void setRenderingTypes(RenderingType renderingType)
renderingType - the renderingType to add
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||