|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.config.handlers.SystemConfigFileHandler
| Constructor Summary | |
SystemConfigFileHandler()
|
|
| Method Summary | |
Set |
getParameterNames()
Get the names of the parameters this handler requires. |
SystemConfig |
loadConfig()
Load the system configuration. |
static SystemConfig |
readConfiguration(InputStream inputStream)
Reads a system configuration from the supplied InputStream. |
static SystemConfig |
readConfiguration(Reader reader)
Reads a system configuration from the supplied Reader. |
void |
setParameters(Map parameters)
Set the parameters for this handler. |
void |
storeConfig(SystemConfig config)
Store the system configuration. |
static void |
writeConfiguration(SystemConfig config,
OutputStream outputStream)
Writes the specified system configuration to the supplied OutputStream. |
static void |
writeConfiguration(SystemConfig config,
Writer writer)
Writes the specified system configuration to the supplied Writer. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SystemConfigFileHandler()
| Method Detail |
public void setParameters(Map parameters)
SystemConfigHandler
setParameters in interface SystemConfigHandlerparameters - a map of parameter names to their valuesSystemConfigHandler.getParameterNames()public Set getParameterNames()
SystemConfigHandler
getParameterNames in interface SystemConfigHandler
public SystemConfig loadConfig()
throws IOException
SystemConfigHandler
loadConfig in interface SystemConfigHandlerIOException
public void storeConfig(SystemConfig config)
throws IOException
SystemConfigHandler
storeConfig in interface SystemConfigHandlerconfig - the SystemConfig
IOException
public static SystemConfig readConfiguration(InputStream inputStream)
throws IOException
IOException
public static SystemConfig readConfiguration(Reader reader)
throws IOException
IOException
public static void writeConfiguration(SystemConfig config,
OutputStream outputStream)
throws IOException
IOException
public static void writeConfiguration(SystemConfig config,
Writer writer)
throws IOException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||