- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QUrl>
public class QUrl extends QtObject implements Comparable<QUrl>, Cloneable
Convenient interface for working with URLs
Java wrapper for Qt class QUrl
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QUrl.ComponentFormattingOption
Java wrapper for Qt enum QUrl::ComponentFormattingOptionstatic class
QUrl.ComponentFormattingOptions
QFlags type for enumQUrl.ComponentFormattingOption
static interface
QUrl.FormattingOption
Supertype interface forQUrl.UrlFormattingOption
andQUrl.ComponentFormattingOption
to be joined in QFiags typeQUrl.FormattingOptions
static class
QUrl.FormattingOptions
QFiags type for joiningQUrl.UrlFormattingOption
andQUrl.ComponentFormattingOption
.static class
QUrl.ParsingMode
Java wrapper for Qt enum QUrl::ParsingModestatic class
QUrl.UrlFormattingOption
Java wrapper for Qt enum QUrl::UrlFormattingOptionstatic class
QUrl.UserInputResolutionOption
Java wrapper for Qt enum QUrl::UserInputResolutionOptionstatic class
QUrl.UserInputResolutionOptions
QFlags type for enumQUrl.UserInputResolutionOption
-
Constructor Summary
Constructors Modifier Constructor Description QUrl()
See QUrl::QUrl()QUrl(QUrl copy)
protected
QUrl(QtObject.QPrivateConstructor p)
Constructor for internal use only.QUrl(String url)
Overloaded constructor forQUrl(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.TolerantMode
.QUrl(String url, QUrl.ParsingMode mode)
-
Method Summary
-
Constructor Details
-
QUrl
public QUrl()See QUrl::QUrl()
-
QUrl
Overloaded constructor for
QUrl(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.TolerantMode
. -
QUrl
-
QUrl
-
QUrl
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
adjusted
-
authority
Overloaded function for
authority(io.qt.core.QUrl.ComponentFormattingOptions)
. -
authority
Overloaded function for
authority(io.qt.core.QUrl.ComponentFormattingOptions)
withoptions = new io.qt.core.QUrl.ComponentFormattingOptions(0)
. -
authority
-
clear
See QUrl::clear()
-
detach
-
errorString
-
fileName
Overloaded function for
fileName(io.qt.core.QUrl.ComponentFormattingOptions)
. -
fileName
Overloaded function for
fileName(io.qt.core.QUrl.ComponentFormattingOptions)
withoptions = new io.qt.core.QUrl.ComponentFormattingOptions(133169152)
. -
fileName
-
fragment
Overloaded function for
fragment(io.qt.core.QUrl.ComponentFormattingOptions)
. -
fragment
Overloaded function for
fragment(io.qt.core.QUrl.ComponentFormattingOptions)
withoptions = new io.qt.core.QUrl.ComponentFormattingOptions(0)
. -
fragment
-
hasFragment
-
hasQuery
-
host
Overloaded function for
host(io.qt.core.QUrl.ComponentFormattingOptions)
. -
host
Overloaded function for
host(io.qt.core.QUrl.ComponentFormattingOptions)
witharg__1 = new io.qt.core.QUrl.ComponentFormattingOptions(133169152)
. -
host
-
isDetached
-
isEmpty
-
isLocalFile
-
isParentOf
-
isRelative
-
isValid
-
matches
-
writeTo
-
readFrom
-
password
Overloaded function for
password(io.qt.core.QUrl.ComponentFormattingOptions)
. -
password
Overloaded function for
password(io.qt.core.QUrl.ComponentFormattingOptions)
witharg__1 = new io.qt.core.QUrl.ComponentFormattingOptions(133169152)
. -
password
-
path
Overloaded function for
path(io.qt.core.QUrl.ComponentFormattingOptions)
. -
path
Overloaded function for
path(io.qt.core.QUrl.ComponentFormattingOptions)
withoptions = new io.qt.core.QUrl.ComponentFormattingOptions(133169152)
. -
path
-
port
Overloaded function for
port(int)
withdefaultPort = -1
. -
port
-
query
Overloaded function for
query(io.qt.core.QUrl.ComponentFormattingOptions)
. -
query
Overloaded function for
query(io.qt.core.QUrl.ComponentFormattingOptions)
witharg__1 = new io.qt.core.QUrl.ComponentFormattingOptions(0)
. -
query
-
resolved
-
scheme
-
setAuthority
Overloaded function for
setAuthority(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.TolerantMode
. -
setAuthority
-
setFragment
Overloaded function for
setFragment(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.TolerantMode
. -
setFragment
-
setHost
Overloaded function for
setHost(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.DecodedMode
. -
setHost
-
setPassword
Overloaded function for
setPassword(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.DecodedMode
. -
setPassword
-
setPath
Overloaded function for
setPath(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.DecodedMode
. -
setPath
-
setPort
-
setQuery
Overloaded function for
setQuery(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.TolerantMode
. -
setQuery
-
setQuery
-
setScheme
-
setUrl
Overloaded function for
setUrl(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.TolerantMode
. -
setUrl
-
setUserInfo
Overloaded function for
setUserInfo(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.TolerantMode
. -
setUserInfo
-
setUserName
Overloaded function for
setUserName(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.DecodedMode
. -
setUserName
-
swap
-
toLocalFile
-
topLevelDomain
@Deprecated @QtUninvokable public final String topLevelDomain(QUrl.ComponentFormattingOption... options)Deprecated.Overloaded function for
topLevelDomain(io.qt.core.QUrl.ComponentFormattingOptions)
. -
topLevelDomain
Deprecated.Overloaded function for
topLevelDomain(io.qt.core.QUrl.ComponentFormattingOptions)
withoptions = new io.qt.core.QUrl.ComponentFormattingOptions(133169152)
. -
topLevelDomain
@Deprecated @QtUninvokable public final String topLevelDomain(QUrl.ComponentFormattingOptions options)Deprecated. -
userInfo
Overloaded function for
userInfo(io.qt.core.QUrl.ComponentFormattingOptions)
. -
userInfo
Overloaded function for
userInfo(io.qt.core.QUrl.ComponentFormattingOptions)
withoptions = new io.qt.core.QUrl.ComponentFormattingOptions(0)
. -
userInfo
-
userName
Overloaded function for
userName(io.qt.core.QUrl.ComponentFormattingOptions)
. -
userName
Overloaded function for
userName(io.qt.core.QUrl.ComponentFormattingOptions)
withoptions = new io.qt.core.QUrl.ComponentFormattingOptions(133169152)
. -
userName
-
fromAce
-
fromEncoded
Overloaded function for
fromEncoded(io.qt.core.QByteArray, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.TolerantMode
. -
fromEncoded
-
fromLocalFile
-
fromPercentEncoding
-
fromStringList
Overloaded function for
fromStringList(java.util.Collection, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.TolerantMode
. -
fromStringList
-
fromUserInput
-
fromUserInput
public static QUrl fromUserInput(String userInput, String workingDirectory, QUrl.UserInputResolutionOption... options)Overloaded function for
fromUserInput(java.lang.String, java.lang.String, io.qt.core.QUrl.UserInputResolutionOptions)
. -
fromUserInput
Overloaded function for
fromUserInput(java.lang.String, java.lang.String, io.qt.core.QUrl.UserInputResolutionOptions)
withoptions = new io.qt.core.QUrl.UserInputResolutionOptions(0)
. -
fromUserInput
public static QUrl fromUserInput(String userInput, String workingDirectory, QUrl.UserInputResolutionOptions options) -
idnWhitelist
-
setIdnWhitelist
-
toAce
-
toPercentEncoding
Overloaded function for
toPercentEncoding(java.lang.String, io.qt.core.QByteArray, io.qt.core.QByteArray)
withinclude = new io.qt.core.QByteArray()
. -
toPercentEncoding
Overloaded function for
toPercentEncoding(java.lang.String, io.qt.core.QByteArray, io.qt.core.QByteArray)
with:
exclude = new io.qt.core.QByteArray()
include = new io.qt.core.QByteArray()
-
toPercentEncoding
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QUrl>
-
hashCode
public int hashCode() -
toDisplayString
-
toDisplayString
-
toDisplayString
-
toString
-
toString
-
toString
-
url
-
url
-
url
-
toEncoded
-
toEncoded
-
toEncoded
-
toStringList
-
toStringList
-
toStringList
-
fromClassPath
-
clone
-