Constant Field Values

Contents

org.archive.*

  • org.archive.util.LongToIntConsistentHash
    Modifier and Type Constant Field Value
    protected static final int DEFAULT_REPLICAS 128
  • org.archive.util.UriUtils
    Modifier and Type Constant Field Value
    protected static final String LIKELY_RELATIVE_URI_PATTERN "(?:\\.?/)?(?:(?:[\\s\\w-]+|\\.\\.)(?:/))*([\\s\\w-]+(?:\\.[\\w-]+)??(\\.[a-zA-Z0-9]{2,5})?)?(?:\\?(?:[a-zA-Z_]+=(?:[\\w-/.]|%[0-9a-fA-F]{2})*)(?:&(?:[a-zA-Z_]+=(?:[\\w-/.]|%[0-9a-fA-F]{2})*))*)?(?:#[\\w-]+)?"
    protected static final String LIKELY_URI_PATH "(\\.{0,2}[^\\.\\n\\r\\s\"\']*(\\.[^\\.\\n\\r\\s\"\']+)+)"
    protected static final String NAIVE_LIKELY_URI_PATTERN "[^<>]*[\\./][^<>]*"
    protected static final String QNV "[a-zA-Z_]+=(?:[\\w-/.]|%[0-9a-fA-F]{2})*"
    protected static final String STRING_URI_DETECTOR "(?:\\w|[\\.]{0,2}/)[\\S&&[^<>]]*(?:\\.|/)[\\S&&[^<>]]*(?:\\w|/)"