org.apache.nutch.parse
Class ParseStatusUtils
java.lang.Object
org.apache.nutch.parse.ParseStatusUtils
public class ParseStatusUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATUS_SUCCESS
public static ParseStatus STATUS_SUCCESS
minorCodes
public static final HashMap<Short,String> minorCodes
ParseStatusUtils
public ParseStatusUtils()
isSuccess
public static boolean isSuccess(ParseStatus status)
getMessage
public static String getMessage(ParseStatus status)
- A convenience method. Return a String representation of the first
argument, or null.
getArg
public static String getArg(ParseStatus status,
int n)
getEmptyParse
public static Parse getEmptyParse(Exception e,
Configuration conf)
getEmptyParse
public static Parse getEmptyParse(int minorCode,
String message,
Configuration conf)
toString
public static String toString(ParseStatus status)
Copyright © 2012 The Apache Software Foundation