/* Copyright (c) 2004 The Nutch Organization.  All rights reserved.   */
/* Use subject to the conditions in http://www.nutch.org/LICENSE.txt. */

package net.nutch.protocol;

import net.nutch.protocol.Content;

/** Interface used to limit which pages' Contents are saved to a segment.
 * Used by the fetcher. */

public interface ContentFilter {

  /* Interface for a filter that transforms a page's fetched Content:
     it can pass the original through or "delete" it by returning null */
  public Content filter(Content content);

}
