|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ibm.as400.util.commtrace.FormatProperties
Values to use for setting the Properties object that is sent to the Format class.
Example:
FormatProperties prop = new FormatProperties();
prop.setProgress(FormatProperties.TRUE);
// Set the filter properties that the user specified
if(!filterIPaddr.equals("*ALL")) {
prop.setIPAddress(filterIPaddr);
}
| Field Summary | |
static java.lang.String |
FALSE
|
static java.lang.String |
NO
|
static java.lang.String |
TRUE
|
static java.lang.String |
YES
|
| Constructor Summary | |
FormatProperties()
|
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
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
| Constructor Detail |
public FormatProperties()
| Method Detail |
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||