SMILA (incubation) API documentation

org.eclipse.smila.solr
Class SolrProperties

java.lang.Object
  extended by org.eclipse.smila.solr.SolrProperties

public class SolrProperties
extends java.lang.Object

The SolrProperties class.

Author:
pwissel

Field Summary
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 Summary
SolrProperties()
           
SolrProperties(java.io.InputStream configStream)
          Default constructor.
SolrProperties(java.util.Properties solrProps)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_EMBEDDED

public static final java.lang.String PROP_EMBEDDED
The property embedded.

See Also:
Constant Field Values

PROP_WORKSPACE_FOLDER

public static final java.lang.String PROP_WORKSPACE_FOLDER
The property workspace folder.

See Also:
Constant Field Values

PROP_SERVER_URL

public static final java.lang.String PROP_SERVER_URL
The property server URL.

See Also:
Constant Field Values

DEFAULT_SERVER_URL

public static final java.lang.String DEFAULT_SERVER_URL
The default server URL.

See Also:
Constant Field Values
Constructor Detail

SolrProperties

public SolrProperties()

SolrProperties

public SolrProperties(java.util.Properties solrProps)

SolrProperties

public SolrProperties(java.io.InputStream configStream)
Default constructor.

Method Detail

isEmbedded

public java.lang.Boolean isEmbedded()
Is embedded.

Returns:
true if is embedded, false otherwise.

getConfigurationFolder

public java.io.File getConfigurationFolder()
Get the configuration folder.

Returns:
the configuration folder.

getWorkspaceFolder

public java.io.File getWorkspaceFolder()
                                throws java.io.IOException
Get the workspace folder.

Returns:
the workspace folder.
Throws:
java.io.IOException - IOException.

getServerUrl

public java.lang.String getServerUrl()
Get the server URL.

Returns:
the server URL.

SMILA (incubation) API documentation