|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.neoworks.shout.Stream
This class holds the information for a [Shout|Ice]Cast stream. The information is read from a configuration file.
| Constructor Summary | |
Stream()
Public constructor |
|
| Method Summary | |
int |
getBitrate()
Get the stream bitrate indicator |
java.lang.String |
getPassword()
Get the server password |
int |
getPort()
Get the source connection port |
java.lang.String |
getPublicShout()
Is this stream public? |
java.lang.String |
getServerName()
Get the server name |
java.lang.String |
getStreamDescription()
get the stream description |
java.lang.String |
getStreamName()
Get the stream name |
int |
getTrackInfoPort()
Get the port to send track information to |
java.lang.String |
getURL()
Get the stream URL |
boolean |
loadConfig(java.lang.String filename)
Load the config file and check it |
void |
setBitrate(int val)
Set the stream bitrate indicator |
void |
setPassword(java.lang.String val)
Set the server password |
void |
setPort(int val)
Set the source connection port |
void |
setPublicShout(java.lang.String val)
Set the public stream flag |
void |
setServerName(java.lang.String val)
Set the server name |
void |
setStreamDescription(java.lang.String val)
Set the stream description |
void |
setStreamName(java.lang.String val)
Set the stream name |
void |
setTrackInfoPort(int val)
Set the port to send track information to |
void |
setURL(java.lang.String val)
Set the stream URL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Stream()
| Method Detail |
public java.lang.String getPublicShout()
public void setPublicShout(java.lang.String val)
val - The new value ("yes"|"no")public java.lang.String getStreamName()
public void setStreamName(java.lang.String val)
val - The new namepublic java.lang.String getStreamDescription()
public void setStreamDescription(java.lang.String val)
val - The new descriptionpublic java.lang.String getURL()
public void setURL(java.lang.String val)
val - The new URLpublic java.lang.String getServerName()
public void setServerName(java.lang.String val)
val - The new server namepublic java.lang.String getPassword()
public void setPassword(java.lang.String val)
val - The new passwordpublic int getBitrate()
public void setBitrate(int val)
val - The new bitrate (kb/s)public int getTrackInfoPort()
public void setTrackInfoPort(int val)
val - The new port numberpublic int getPort()
public void setPort(int val)
val - The new port number
public boolean loadConfig(java.lang.String filename)
throws java.io.FileNotFoundException
filename - The name of the config file
java.io.FileNotFoundException - If the config file cannot be found
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||