public class SolrProperties
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SERVER_URL
The default server URL.
|
static java.lang.String |
PROP_EMBEDDED
The property embedded.
|
static java.lang.String |
PROP_SERVER_URL
The property server URL.
|
static java.lang.String |
PROP_WORKSPACE_FOLDER
The property workspace folder.
|
| Constructor and Description |
|---|
SolrProperties() |
SolrProperties(java.io.InputStream configStream)
Default constructor.
|
SolrProperties(java.util.Properties solrProps) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getConfigurationFolder()
Get the configuration folder.
|
java.lang.String |
getServerUrl()
Get the server URL.
|
java.io.File |
getWorkspaceFolder()
Get the workspace folder.
|
java.lang.Boolean |
isEmbedded()
Is embedded.
|
public static final java.lang.String PROP_EMBEDDED
public static final java.lang.String PROP_WORKSPACE_FOLDER
public static final java.lang.String PROP_SERVER_URL
public static final java.lang.String DEFAULT_SERVER_URL
public SolrProperties()
public SolrProperties(java.util.Properties solrProps)
public SolrProperties(java.io.InputStream configStream)
public java.lang.Boolean isEmbedded()
public java.io.File getConfigurationFolder()
public java.io.File getWorkspaceFolder()
throws java.io.IOException
java.io.IOException - IOException.public java.lang.String getServerUrl()