com.norconex.collector.http.handler.impl
Enum GenericURLNormalizer.Normalization

java.lang.Object
  extended by java.lang.Enum<GenericURLNormalizer.Normalization>
      extended by com.norconex.collector.http.handler.impl.GenericURLNormalizer.Normalization
All Implemented Interfaces:
Serializable, Comparable<GenericURLNormalizer.Normalization>
Enclosing class:
GenericURLNormalizer

public static enum GenericURLNormalizer.Normalization
extends Enum<GenericURLNormalizer.Normalization>


Enum Constant Summary
addTrailingSlash
           
addWWW
           
decodeUnreservedCharacters
           
lowerCaseSchemeHost
           
removeDefaultPort
           
removeDirectoryIndex
           
removeDotSegments
           
removeDuplicateSlashes
           
removeEmptyParameters
           
removeFragment
           
removeSessionIds
           
removeTrailingQuestionMark
           
removeWWW
           
replaceIPWithDomainName
           
secureScheme
           
sortQueryParameters
           
unsecureScheme
           
upperCaseEscapeSequence
           
 
Method Summary
static GenericURLNormalizer.Normalization valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GenericURLNormalizer.Normalization[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

lowerCaseSchemeHost

public static final GenericURLNormalizer.Normalization lowerCaseSchemeHost

upperCaseEscapeSequence

public static final GenericURLNormalizer.Normalization upperCaseEscapeSequence

decodeUnreservedCharacters

public static final GenericURLNormalizer.Normalization decodeUnreservedCharacters

removeDefaultPort

public static final GenericURLNormalizer.Normalization removeDefaultPort

addTrailingSlash

public static final GenericURLNormalizer.Normalization addTrailingSlash

removeDotSegments

public static final GenericURLNormalizer.Normalization removeDotSegments

removeDirectoryIndex

public static final GenericURLNormalizer.Normalization removeDirectoryIndex

removeFragment

public static final GenericURLNormalizer.Normalization removeFragment

replaceIPWithDomainName

public static final GenericURLNormalizer.Normalization replaceIPWithDomainName

unsecureScheme

public static final GenericURLNormalizer.Normalization unsecureScheme

secureScheme

public static final GenericURLNormalizer.Normalization secureScheme

removeDuplicateSlashes

public static final GenericURLNormalizer.Normalization removeDuplicateSlashes

removeWWW

public static final GenericURLNormalizer.Normalization removeWWW

addWWW

public static final GenericURLNormalizer.Normalization addWWW

sortQueryParameters

public static final GenericURLNormalizer.Normalization sortQueryParameters

removeEmptyParameters

public static final GenericURLNormalizer.Normalization removeEmptyParameters

removeTrailingQuestionMark

public static final GenericURLNormalizer.Normalization removeTrailingQuestionMark

removeSessionIds

public static final GenericURLNormalizer.Normalization removeSessionIds
Method Detail

values

public static GenericURLNormalizer.Normalization[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GenericURLNormalizer.Normalization c : GenericURLNormalizer.Normalization.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GenericURLNormalizer.Normalization valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2009-2013 Norconex Inc.. All Rights Reserved.