public class ServerProperties
extends org.hsqldb.server.ServerProperties
| Constructor and Description |
|---|
ServerProperties(int protocol,
File file)
Create server properties instance.
|
| Modifier and Type | Method and Description |
|---|---|
static ServerProperties |
create(int protocol,
InputStream props)
Create server properties instance from an
InputStream. |
addError, addProperties, addProperties, argArrayToProps, delimitedArgPairsToProps, getErrorKeys, getIntegerProperty, getIntegerProperty, getMeta, getMeta, getMeta, getMeta, getMeta, getProperties, getProperty, getProperty, getPropertyWithinRange, isEmpty, isPropertyTrue, isPropertyTrue, load, propertiesFileExists, propertyNames, removeProperty, save, save, setFileName, setProperty, setProperty, setProperty, setPropertyIfNotExists, toString, validateProperty, validatePropertypublic ServerProperties(int protocol,
File file)
throws IOException
protocol - type of server (ServerConstants.SC_PROTOCOL_HTTP, ServerConstants.SC_PROTOCOL_HSQL or ServerConstants.SC_PROTOCOL_BER)file - server properties fileIOException - if properties are not readablepublic static ServerProperties create(int protocol, InputStream props) throws IOException
InputStream.protocol - type of server (ServerConstants.SC_PROTOCOL_HTTP, ServerConstants.SC_PROTOCOL_HSQL or ServerConstants.SC_PROTOCOL_BER)props - server propertiesIOException - if properties are not readableCopyright © 2019 OpenEstate. All rights reserved.