public class LocalServerPropertiesManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_KEY_PASSWORD |
static String |
PROPERTY_KEY_PORT |
Modifier | Constructor and Description |
---|---|
protected |
LocalServerPropertiesManager() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
String |
getBaseUrl() |
static LocalServerPropertiesManager |
getInstance() |
protected Properties |
getLocalServerProperties() |
protected File |
getLocalServerPropertiesFile() |
String |
getPassword() |
int |
getPort() |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
writeLocalServerProperties() |
public static final String PROPERTY_KEY_PORT
public static final String PROPERTY_KEY_PASSWORD
protected LocalServerPropertiesManager()
public static LocalServerPropertiesManager getInstance()
protected File getLocalServerPropertiesFile()
protected Properties getLocalServerProperties()
public void writeLocalServerProperties()
public int getPort()
public void setPort(int port)
public String getBaseUrl()
public String getPassword()
public void setPassword(String password)
public void clear()
Copyright © 2013–2019. All rights reserved.