class PageView {

  public static PageView fromString(String pv) {
    LOG.debug("get string '" + pv + "'");
    String[] parts = pv.split("\t");
    if (parts.length < 4) {
      return null;
    }
    for (int i = 0; i < parts.length; i++) {
      parts[i] = parts[i].trim();
    }
    return new PageView(parts[0],
            Integer.parseInt(parts[1]),
            Integer.parseInt(parts[2]),
            Integer.parseInt(parts[3]));
  }

  public  PageView(String url, int status, int zipCode, int userID);

}