|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.as400.util.commtrace.FormatProperties
public class FormatProperties extends Object
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);
}
| Modifier and Type | Field and Description |
|---|---|
static String |
FALSE
|
static String |
NO
|
static String |
TRUE
|
static String |
YES
|
| Constructor and Description |
|---|
FormatProperties()
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBroadcast()
Gets the Broadcast filter. |
String |
getEndTime()
Gets the end time filter. |
String |
getIPAddress()
Gets the IPAddress filter |
String |
getPort()
Gets the Port filter. |
String |
getProgress()
Property set if progress should be displayed. |
String |
getSecondIPAddress()
Gets the second IPAddress filter. |
String |
getStartTime()
Gets the start time filter |
void |
setBroadcast(String broadcast)
Sets the broadcast filter. |
void |
setEndTime(String endtime)
Sets the end time filter in milliseconds since the epoc. |
void |
setIPAddress(String IPAddress)
Sets the IPAddress filter to the given IPAddress. |
void |
setPort(String port)
Sets the port filter to the given port. |
void |
setProgress(String progress)
Sets if the progress monitor should be displayed or not. |
void |
setSecondIPAddress(String IPAddress)
Sets the second IPAddress filter to the given IPAddress. |
void |
setStartTime(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 String TRUE
public static final String YES
public static final String NO
public static final String FALSE
| Constructor Detail |
|---|
public FormatProperties()
| Method Detail |
|---|
public void setIPAddress(String IPAddress)
IPAddress - The IPAddress to filter on.public void setSecondIPAddress(String IPAddress)
IPAddress - The IPAddress to filter on.public void setPort(String port)
port - The port to filter on.public void setBroadcast(String broadcast)
broadcast - FormatProperties.YES or FormatProperties.NO.public void setStartTime(String starttime)
starttime - The time to start filtering at.public void setEndTime(String endtime)
endtime - The time to end filtering.public void setProgress(String progress)
progress - FormatProperties.TRUE or FormatProperties.FALSE.public String getIPAddress()
public String getSecondIPAddress()
public String getPort()
public String getBroadcast()
public String getStartTime()
public String getEndTime()
public String getProgress()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||