|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QUrl.FormattingOption>
com.trolltech.qt.core.QUrl.FormattingOption
public static enum QUrl.FormattingOption
The formatting options define how the URL is formatted when written out as text.
Enum Constant Summary | |
---|---|
None
The URL is left unchanged. |
|
RemoveAuthority
Internal. |
|
RemoveFragment
Internal. |
|
RemovePassword
Any password in the URL is removed. |
|
RemovePath
The URL's path is removed, leaving only the scheme, host address, and port (if present). |
|
RemovePort
Any specified port is removed from the URL. |
|
RemoveQuery
The query part of the URL (following a '?' character) is removed. |
|
RemoveScheme
The scheme is removed from the URL. |
|
RemoveUserInfo
Any user information in the URL is removed. |
|
StripTrailingSlash
The trailing slash is removed if one is present. |
Method Summary | |
---|---|
static QUrl.FormattingOptions |
createQFlags(QUrl.FormattingOption... values)
|
static QUrl.FormattingOption |
resolve(int value)
|
int |
value()
|
static QUrl.FormattingOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QUrl.FormattingOption[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QUrl.FormattingOption None
The URL is left unchanged.
public static final QUrl.FormattingOption RemoveScheme
The scheme is removed from the URL.
public static final QUrl.FormattingOption RemovePassword
Any password in the URL is removed.
public static final QUrl.FormattingOption RemoveUserInfo
Any user information in the URL is removed.
public static final QUrl.FormattingOption RemovePort
Any specified port is removed from the URL.
public static final QUrl.FormattingOption RemoveAuthority
public static final QUrl.FormattingOption RemovePath
The URL's path is removed, leaving only the scheme, host address, and port (if present).
public static final QUrl.FormattingOption RemoveQuery
The query part of the URL (following a '?' character) is removed.
public static final QUrl.FormattingOption RemoveFragment
public static final QUrl.FormattingOption StripTrailingSlash
The trailing slash is removed if one is present.
Method Detail |
---|
public static final QUrl.FormattingOption[] values()
for(QUrl.FormattingOption c : QUrl.FormattingOption.values()) System.out.println(c);
public static QUrl.FormattingOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
value
in interface QtEnumerator
public static QUrl.FormattingOptions createQFlags(QUrl.FormattingOption... values)
public static QUrl.FormattingOption resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |