public class FormatProperties
extends java.lang.Object
FormatProperties prop = new FormatProperties(); prop.setProgress(FormatProperties.TRUE); // Set the filter properties that the user specified if(!filterIPaddr.equals("*ALL")) { prop.setIPAddress(filterIPaddr); }
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FALSE |
static java.lang.String |
NO |
static java.lang.String |
TRUE |
static java.lang.String |
YES |
Constructor and Description |
---|
FormatProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBroadcast()
Gets the Broadcast filter.
|
java.lang.String |
getEndTime()
Gets the end time filter.
|
java.lang.String |
getIPAddress()
Gets the IPAddress filter
|
java.lang.String |
getPort()
Gets the Port filter.
|
java.lang.String |
getProgress()
Property set if progress should be displayed.
|
java.lang.String |
getSecondIPAddress()
Gets the second IPAddress filter.
|
java.lang.String |
getStartTime()
Gets the start time filter
|
void |
setBroadcast(java.lang.String broadcast)
Sets the broadcast filter.
|
void |
setEndTime(java.lang.String endtime)
Sets the end time filter in milliseconds since the epoc.
|
void |
setIPAddress(java.lang.String IPAddress)
Sets the IPAddress filter to the given IPAddress.
|
void |
setPort(java.lang.String port)
Sets the port filter to the given port.
|
void |
setProgress(java.lang.String progress)
Sets if the progress monitor should be displayed or not.
|
void |
setSecondIPAddress(java.lang.String IPAddress)
Sets the second IPAddress filter to the given IPAddress.
|
void |
setStartTime(java.lang.String starttime)
Sets the start time filter in milliseconds since the epoc.
|
public static final java.lang.String TRUE
public static final java.lang.String YES
public static final java.lang.String NO
public static final java.lang.String FALSE
public void setIPAddress(java.lang.String IPAddress)
IPAddress
- The IPAddress to filter on.public void setSecondIPAddress(java.lang.String IPAddress)
IPAddress
- The IPAddress to filter on.public void setPort(java.lang.String port)
port
- The port to filter on.public void setBroadcast(java.lang.String broadcast)
broadcast
- FormatProperties.YES or FormatProperties.NO.public void setStartTime(java.lang.String starttime)
starttime
- The time to start filtering at.public void setEndTime(java.lang.String endtime)
endtime
- The time to end filtering.public void setProgress(java.lang.String progress)
progress
- FormatProperties.TRUE or FormatProperties.FALSE.public java.lang.String getIPAddress()
public java.lang.String getSecondIPAddress()
public java.lang.String getPort()
public java.lang.String getBroadcast()
public java.lang.String getStartTime()
public java.lang.String getEndTime()
public java.lang.String getProgress()