private static boolean isValidIP(String ip)
	{
		String[] parts = ip.split("\\.");
		if (parts.length != 4)
		{
			return false;
		}
		
		for (String s : parts)
		{
			try
			{
				Integer.parseInt(s);
			}
			catch (NumberFormatException e)
			{
				return false;
			}
		}
		
		return true;
	}