public enum UrlPart extends Enum<UrlPart>
| Enum Constant and Description |
|---|
FRAGMENT |
HOST |
PATH |
PORT |
QUERY |
SCHEME |
USERNAME_PASSWORD |
| Modifier and Type | Method and Description |
|---|---|
UrlPart |
getNextPart() |
static UrlPart |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrlPart[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlPart FRAGMENT
public static final UrlPart QUERY
public static final UrlPart PATH
public static final UrlPart PORT
public static final UrlPart HOST
public static final UrlPart USERNAME_PASSWORD
public static final UrlPart SCHEME
public static UrlPart[] values()
for (UrlPart c : UrlPart.values()) System.out.println(c);
public static UrlPart valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic UrlPart getNextPart()
Copyright © 2016. All rights reserved.