public class GraphiteValidator extends Object
| Constructor and Description |
|---|
GraphiteValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDescriptionPresent(String description) |
boolean |
isDescriptionTooLong(String description) |
boolean |
isIpPresent(String ip) |
boolean |
isListening(String ip,
int port) |
boolean |
isPortPresent(String port) |
boolean |
validateIpFormat(String ip) |
boolean |
validatePortFormat(String port) |
public boolean validateIpFormat(String ip)
public boolean validatePortFormat(String port)
public boolean isListening(String ip, int port)
public boolean isIpPresent(String ip)
public boolean isPortPresent(String port)
public boolean isDescriptionPresent(String description)
public boolean isDescriptionTooLong(String description)
Copyright © 2004-2013. All Rights Reserved.