parser.java

来自「一些简要的公爵类一些简要的公爵类一些简要的公爵类」· Java 代码 · 共 19 行

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

package net.nutch.parse;

import net.nutch.protocol.Content;

/** A parser for content generated by a {@link net.nutch.protocol.Protocol}
 * implementation.  This interface is implemented by extensions.  Nutch's core
 * contains no page parsing code.
 */
public interface Parser {
  /** The name of the extension point. */
  public final static String X_POINT_ID = Parser.class.getName();

  /** Creates the parse for some content. */
  Parse getParse(Content c) throws ParseException;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?