urlnormalizer.java
来自「爬虫数据的改进,并修正了一些bug」· Java 代码 · 共 15 行
JAVA
15 行
/* Copyright (c) 2003 The Nutch Organization. All rights reserved. */
/* Use subject to the conditions in http://www.nutch.org/LICENSE.txt. */
package net.nutch.net;
import java.net.MalformedURLException;
/** Interface used to convert URLs to normal form and optionally do regex substitutions */
public interface UrlNormalizer {
/* Interface for URL normalization */
public String normalize(String urlString) throws MalformedURLException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?