public class Config extends Object
Constructor and Description |
---|
Config()
Instantiates a new config.
|
Modifier and Type | Method and Description |
---|---|
String |
getJabberContact()
Gets the jabber contact.
|
String |
getJabberPassword()
Gets the jabber password.
|
String |
getJabberPort()
Gets the jabber port.
|
String |
getJabberServer()
Gets the jabber server.
|
String |
getJabberUser()
Gets the jabber user.
|
String |
getTimeFormat()
Gets the time format.
|
String |
getTwitterAccesstoken()
Gets the twitter accesstoken.
|
String |
getTwitterAccesstokenSecret()
Gets the twitter accesstoken secret.
|
String |
getTwitterConsumerKey()
Gets the twitter consumer key.
|
String |
getTwitterConsumerSecret()
Gets the twitter consumer secret.
|
String |
getTwitterLocationLatitude()
Gets the twitter location latitude.
|
String |
getTwitterLocationLongitude()
Gets the twitter location longitude.
|
String |
getTwitterPollingintervall()
Gets the twitter pollingintervall.
|
void |
readConfig(String file)
Read config.
|
void |
setJabberContact(String value)
Sets the jabber contact.
|
void |
setJabberPassword(String value)
Sets the jabber password.
|
void |
setJabberPort(String value)
Sets the jabber port.
|
void |
setJabberServer(String server)
Sets the jabber server.
|
void |
setJabberUser(String value)
Sets the jabber user.
|
void |
setTimeFormat(String value)
Sets the time format.
|
void |
setTwitterAccesstoken(String value)
Sets the twitter accesstoken.
|
void |
setTwitterAccesstokenSecret(String value)
Sets the twitter accesstoken secret.
|
void |
setTwitterConsumerKey(String value)
Sets the twitter consumer key.
|
void |
setTwitterConsumerSecret(String value)
Sets the twitter consumer secret.
|
void |
setTwitterLocationLatitude(String value)
Sets the twitter location latitude.
|
void |
setTwitterLocationLongitude(String value)
Sets the twitter location longitude.
|
void |
setTwitterPollingintervall(String value)
Sets the twitter pollingintervall.
|
void |
writeConfig(String file)
Write config.
|
public void readConfig(String file) throws IOException
file
- the fileIOException
- Signals that an I/O exception has occurred.public void writeConfig(String file) throws IOException
file
- the fileIOException
- Signals that an I/O exception has occurred.public void setJabberServer(String server)
server
- the new jabber serverpublic void setJabberUser(String value)
value
- the new jabber userpublic void setJabberPassword(String value)
value
- the new jabber passwordpublic void setJabberContact(String value)
value
- the new jabber contactpublic void setJabberPort(String value)
value
- the new jabber portpublic void setTwitterPollingintervall(String value)
value
- the new twitter pollingintervallpublic void setTwitterConsumerKey(String value)
value
- the new twitter consumer keypublic void setTwitterConsumerSecret(String value)
value
- the new twitter consumer secretpublic void setTwitterAccesstoken(String value)
value
- the new twitter accesstokenpublic void setTwitterAccesstokenSecret(String value)
value
- the new twitter accesstoken secretpublic void setTwitterLocationLatitude(String value)
value
- the new twitter location latitudepublic void setTwitterLocationLongitude(String value)
value
- the new twitter location longitudepublic void setTimeFormat(String value)
value
- the new time formatpublic String getTimeFormat()
public String getJabberServer()
public String getJabberUser()
public String getJabberPassword()
public String getJabberContact()
public String getJabberPort()
public String getTwitterPollingintervall()
public String getTwitterConsumerKey()
public String getTwitterConsumerSecret()
public String getTwitterAccesstoken()
public String getTwitterAccesstokenSecret()
public String getTwitterLocationLatitude()
public String getTwitterLocationLongitude()
Copyright © 2016. All rights reserved.