All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QUrl Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Convenient interface for working with URLs

*

Java wrapper for Qt class QUrl

*/ public class QUrl extends QtObject implements java.lang.Comparable, java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum QUrl::AceProcessingOption

*

This enum was introduced in Qt 6.3.

* * @see AceProcessingOptions */ public enum AceProcessingOption implements QtFlagEnumerator { /** *

Representing QUrl::IgnoreIDNWhitelist

*/ IgnoreIDNWhitelist(1), /** *

Representing QUrl::AceTransitionalProcessing

*/ AceTransitionalProcessing(2); static { QtJambi_LibraryUtilities.initialize(); } private AceProcessingOption(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ @Override public @NonNull AceProcessingOptions asFlags() { return new AceProcessingOptions(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull AceProcessingOptions combined(@NonNull AceProcessingOption e) { return asFlags().setFlag(e, true); } /** * Excludes other enum entry from a flag of this entry. * @param e enum entry * @return new flag */ public @NonNull AceProcessingOptions cleared(@NonNull AceProcessingOption e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link AceProcessingOptions} from the entries. * @param values entries * @return new flag */ public static @NonNull AceProcessingOptions flags(@Nullable AceProcessingOption @NonNull... values) { return new AceProcessingOptions(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull AceProcessingOption resolve(int value) { switch (value) { case 1: return IgnoreIDNWhitelist; case 2: return AceTransitionalProcessing; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link AceProcessingOption} */ public static final class AceProcessingOptions extends QFlags implements Comparable { private static final long serialVersionUID = 0x5ec941113e830143L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new AceProcessingOptions where the flags in args are set. * @param args enum entries */ public AceProcessingOptions(@Nullable AceProcessingOption @NonNull... args){ super(args); } /** * Creates a new AceProcessingOptions with given value. * @param value */ public AceProcessingOptions(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new AceProcessingOptions */ @Override public final @NonNull AceProcessingOptions combined(@StrictNonNull AceProcessingOption e){ return new AceProcessingOptions(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ @Override public final @NonNull AceProcessingOptions setFlag(@Nullable AceProcessingOption e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ @Override public final @NonNull AceProcessingOptions setFlag(@Nullable AceProcessingOption e, boolean on){ if (on) { setValue(value() | e.value()); }else { setValue(value() & ~e.value()); } return this; } /** * Returns an array of flag objects represented by this AceProcessingOptions. * @return array of enum entries */ @Override public final @NonNull AceProcessingOption @NonNull[] flags(){ return super.flags(AceProcessingOption.values()); } /** * {@inheritDoc} */ @Override public final @NonNull AceProcessingOptions clone(){ return new AceProcessingOptions(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull AceProcessingOptions other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QUrl::ComponentFormattingOption

* * @see ComponentFormattingOptions */ public enum ComponentFormattingOption implements QtFlagEnumerator, FormattingOption { /** *

Representing QUrl::PrettyDecoded

*/ PrettyDecoded(0), /** *

Representing QUrl::EncodeSpaces

*/ EncodeSpaces(1048576), /** *

Representing QUrl::EncodeUnicode

*/ EncodeUnicode(2097152), /** *

Representing QUrl::EncodeDelimiters

*/ EncodeDelimiters(12582912), /** *

Representing QUrl::EncodeReserved

*/ EncodeReserved(16777216), /** *

Representing QUrl::DecodeReserved

*/ DecodeReserved(33554432), /** *

Representing QUrl::FullyEncoded

*/ FullyEncoded(32505856), /** *

Representing QUrl::FullyDecoded

*/ FullyDecoded(133169152); static { QtJambi_LibraryUtilities.initialize(); } private ComponentFormattingOption(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ @Override public @NonNull ComponentFormattingOptions asFlags() { return new ComponentFormattingOptions(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull ComponentFormattingOptions combined(@NonNull ComponentFormattingOption e) { return asFlags().setFlag(e, true); } /** * Excludes other enum entry from a flag of this entry. * @param e enum entry * @return new flag */ public @NonNull ComponentFormattingOptions cleared(@NonNull ComponentFormattingOption e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link ComponentFormattingOptions} from the entries. * @param values entries * @return new flag */ public static @NonNull ComponentFormattingOptions flags(@Nullable ComponentFormattingOption @NonNull... values) { return new ComponentFormattingOptions(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull ComponentFormattingOption resolve(int value) { switch (value) { case 0: return PrettyDecoded; case 1048576: return EncodeSpaces; case 2097152: return EncodeUnicode; case 12582912: return EncodeDelimiters; case 16777216: return EncodeReserved; case 33554432: return DecodeReserved; case 32505856: return FullyEncoded; case 133169152: return FullyDecoded; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link ComponentFormattingOption} */ public static final class ComponentFormattingOptions extends QFlags implements Comparable { private static final long serialVersionUID = 0xc8b167b542824170L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new ComponentFormattingOptions where the flags in args are set. * @param args enum entries */ public ComponentFormattingOptions(@Nullable ComponentFormattingOption @NonNull... args){ super(args); } /** * Creates a new ComponentFormattingOptions with given value. * @param value */ public ComponentFormattingOptions(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new ComponentFormattingOptions */ @Override public final @NonNull ComponentFormattingOptions combined(@StrictNonNull ComponentFormattingOption e){ return new ComponentFormattingOptions(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ @Override public final @NonNull ComponentFormattingOptions setFlag(@Nullable ComponentFormattingOption e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ @Override public final @NonNull ComponentFormattingOptions setFlag(@Nullable ComponentFormattingOption e, boolean on){ if (on) { setValue(value() | e.value()); }else { setValue(value() & ~e.value()); } return this; } /** * Returns an array of flag objects represented by this ComponentFormattingOptions. * @return array of enum entries */ @Override public final @NonNull ComponentFormattingOption @NonNull[] flags(){ return super.flags(ComponentFormattingOption.values()); } /** * {@inheritDoc} */ @Override public final @NonNull ComponentFormattingOptions clone(){ return new ComponentFormattingOptions(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull ComponentFormattingOptions other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QUrl::ParsingMode

*/ public enum ParsingMode implements QtEnumerator { /** *

Representing QUrl::TolerantMode

*/ TolerantMode(0), /** *

Representing QUrl::StrictMode

*/ StrictMode(1), /** *

Representing QUrl::DecodedMode

*/ DecodedMode(2); static { QtJambi_LibraryUtilities.initialize(); } private ParsingMode(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull ParsingMode resolve(int value) { switch (value) { case 0: return TolerantMode; case 1: return StrictMode; case 2: return DecodedMode; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QUrl::UrlFormattingOption

*/ public enum UrlFormattingOption implements QtEnumerator, FormattingOption { /** *

Representing QUrl::None

*/ None(0), /** *

Representing QUrl::RemoveScheme

*/ RemoveScheme(1), /** *

Representing QUrl::RemovePassword

*/ RemovePassword(2), /** *

Representing QUrl::RemoveUserInfo

*/ RemoveUserInfo(6), /** *

Representing QUrl::RemovePort

*/ RemovePort(8), /** *

Representing QUrl::RemoveAuthority

*/ RemoveAuthority(30), /** *

Representing QUrl::RemovePath

*/ RemovePath(32), /** *

Representing QUrl::RemoveQuery

*/ RemoveQuery(64), /** *

Representing QUrl::RemoveFragment

*/ RemoveFragment(128), /** *

Representing QUrl::PreferLocalFile

*/ PreferLocalFile(512), /** *

Representing QUrl::StripTrailingSlash

*/ StripTrailingSlash(1024), /** *

Representing QUrl::RemoveFilename

*/ RemoveFilename(2048), /** *

Representing QUrl::NormalizePathSegments

*/ NormalizePathSegments(4096); static { QtJambi_LibraryUtilities.initialize(); } private UrlFormattingOption(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull UrlFormattingOption resolve(int value) { switch (value) { case 0: return None; case 1: return RemoveScheme; case 2: return RemovePassword; case 6: return RemoveUserInfo; case 8: return RemovePort; case 30: return RemoveAuthority; case 32: return RemovePath; case 64: return RemoveQuery; case 128: return RemoveFragment; case 512: return PreferLocalFile; case 1024: return StripTrailingSlash; case 2048: return RemoveFilename; case 4096: return NormalizePathSegments; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QUrl::UserInputResolutionOption

* * @see UserInputResolutionOptions */ public enum UserInputResolutionOption implements QtFlagEnumerator { /** *

Representing QUrl::DefaultResolution

*/ DefaultResolution(0), /** *

Representing QUrl::AssumeLocalFile

*/ AssumeLocalFile(1); static { QtJambi_LibraryUtilities.initialize(); } private UserInputResolutionOption(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ @Override public @NonNull UserInputResolutionOptions asFlags() { return new UserInputResolutionOptions(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull UserInputResolutionOptions combined(@NonNull UserInputResolutionOption e) { return asFlags().setFlag(e, true); } /** * Excludes other enum entry from a flag of this entry. * @param e enum entry * @return new flag */ public @NonNull UserInputResolutionOptions cleared(@NonNull UserInputResolutionOption e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link UserInputResolutionOptions} from the entries. * @param values entries * @return new flag */ public static @NonNull UserInputResolutionOptions flags(@Nullable UserInputResolutionOption @NonNull... values) { return new UserInputResolutionOptions(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull UserInputResolutionOption resolve(int value) { switch (value) { case 0: return DefaultResolution; case 1: return AssumeLocalFile; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link UserInputResolutionOption} */ public static final class UserInputResolutionOptions extends QFlags implements Comparable { private static final long serialVersionUID = 0xa1ce052c65ef8a37L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new UserInputResolutionOptions where the flags in args are set. * @param args enum entries */ public UserInputResolutionOptions(@Nullable UserInputResolutionOption @NonNull... args){ super(args); } /** * Creates a new UserInputResolutionOptions with given value. * @param value */ public UserInputResolutionOptions(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new UserInputResolutionOptions */ @Override public final @NonNull UserInputResolutionOptions combined(@StrictNonNull UserInputResolutionOption e){ return new UserInputResolutionOptions(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ @Override public final @NonNull UserInputResolutionOptions setFlag(@Nullable UserInputResolutionOption e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ @Override public final @NonNull UserInputResolutionOptions setFlag(@Nullable UserInputResolutionOption e, boolean on){ if (on) { setValue(value() | e.value()); }else { setValue(value() & ~e.value()); } return this; } /** * Returns an array of flag objects represented by this UserInputResolutionOptions. * @return array of enum entries */ @Override public final @NonNull UserInputResolutionOption @NonNull[] flags(){ return super.flags(UserInputResolutionOption.values()); } /** * {@inheritDoc} */ @Override public final @NonNull UserInputResolutionOptions clone(){ return new UserInputResolutionOptions(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull UserInputResolutionOptions other){ return Integer.compare(value(), other.value()); } } /** *

See QUrl::QUrl()

*/ public QUrl(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QUrl instance); /** *

See QUrl::QUrl(QString,QUrl::ParsingMode)

*/ public QUrl(java.lang.@NonNull String url, io.qt.core.QUrl.@NonNull ParsingMode mode){ super((QPrivateConstructor)null); initialize_native(this, url, mode); } private native static void initialize_native(QUrl instance, java.lang.String url, io.qt.core.QUrl.ParsingMode mode); /** *

See QUrl::QUrl(QUrl)

*/ public QUrl(io.qt.core.@NonNull QUrl copy){ super((QPrivateConstructor)null); initialize_native(this, copy); } private native static void initialize_native(QUrl instance, io.qt.core.QUrl copy); /** *

See QUrl::adjusted(QUrl::FormattingOptions)const

*/ @QtUninvokable public final io.qt.core.@NonNull QUrl adjusted(io.qt.core.QUrl.@NonNull FormattingOptions options){ return adjusted_native_QUrl_FormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options); } @QtUninvokable private native io.qt.core.QUrl adjusted_native_QUrl_FormattingOptions_constfct(long __this__nativeId, io.qt.core.QUrl.FormattingOptions options); /** *

See QUrl::authority(QUrl::ComponentFormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String authority(io.qt.core.QUrl.@NonNull ComponentFormattingOptions options){ return authority_native_QUrl_ComponentFormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options.value()); } @QtUninvokable private native java.lang.String authority_native_QUrl_ComponentFormattingOptions_constfct(long __this__nativeId, int options); /** *

See QUrl::clear()

*/ @QtUninvokable public final void clear(){ clear_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clear_native(long __this__nativeId); /** *

See QUrl::detach()

*/ @QtUninvokable public final void detach(){ detach_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void detach_native(long __this__nativeId); /** *

See QUrl::errorString()const

*/ @QtUninvokable public final java.lang.@NonNull String errorString(){ return errorString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String errorString_native_constfct(long __this__nativeId); /** *

See QUrl::fileName(QUrl::ComponentFormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String fileName(io.qt.core.QUrl.@NonNull ComponentFormattingOptions options){ return fileName_native_QUrl_ComponentFormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options.value()); } @QtUninvokable private native java.lang.String fileName_native_QUrl_ComponentFormattingOptions_constfct(long __this__nativeId, int options); /** *

See QUrl::fragment(QUrl::ComponentFormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String fragment(io.qt.core.QUrl.@NonNull ComponentFormattingOptions options){ return fragment_native_QUrl_ComponentFormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options.value()); } @QtUninvokable private native java.lang.String fragment_native_QUrl_ComponentFormattingOptions_constfct(long __this__nativeId, int options); /** *

See QUrl::hasFragment()const

*/ @QtUninvokable public final boolean hasFragment(){ return hasFragment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasFragment_native_constfct(long __this__nativeId); /** *

See QUrl::hasQuery()const

*/ @QtUninvokable public final boolean hasQuery(){ return hasQuery_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasQuery_native_constfct(long __this__nativeId); /** *

See QUrl::host(QUrl::ComponentFormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String host(io.qt.core.QUrl.@NonNull ComponentFormattingOptions arg__1){ return host_native_QUrl_ComponentFormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @QtUninvokable private native java.lang.String host_native_QUrl_ComponentFormattingOptions_constfct(long __this__nativeId, int arg__1); /** *

See QUrl::isDetached()const

*/ @QtUninvokable public final boolean isDetached(){ return isDetached_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isDetached_native_constfct(long __this__nativeId); /** *

See QUrl::isEmpty()const

*/ @QtUninvokable public final boolean isEmpty(){ return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isEmpty_native_constfct(long __this__nativeId); /** *

See QUrl::isLocalFile()const

*/ @QtUninvokable public final boolean isLocalFile(){ return isLocalFile_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isLocalFile_native_constfct(long __this__nativeId); /** *

See QUrl::isParentOf(QUrl)const

*/ @QtUninvokable public final boolean isParentOf(io.qt.core.@NonNull QUrl url){ return isParentOf_native_cref_QUrl_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(url)); } @QtUninvokable private native boolean isParentOf_native_cref_QUrl_constfct(long __this__nativeId, long url); /** *

See QUrl::isRelative()const

*/ @QtUninvokable public final boolean isRelative(){ return isRelative_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isRelative_native_constfct(long __this__nativeId); /** *

See QUrl::isValid()const

*/ @QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See QUrl::matches(QUrl,QUrl::FormattingOptions)const

*/ @QtUninvokable public final boolean matches(io.qt.core.@NonNull QUrl url, io.qt.core.QUrl.@NonNull FormattingOptions options){ return matches_native_cref_QUrl_QUrl_FormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(url), options); } @QtUninvokable private native boolean matches_native_cref_QUrl_QUrl_FormattingOptions_constfct(long __this__nativeId, long url, io.qt.core.QUrl.FormattingOptions options); /** *

See QUrl::operator<(QUrl)const

*/ @QtUninvokable private final boolean operator_less(io.qt.core.@NonNull QUrl url){ return operator_less_native_cref_QUrl_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(url)); } @QtUninvokable private native boolean operator_less_native_cref_QUrl_constfct(long __this__nativeId, long url); /** *

See operator<<(QDataStream&,QUrl)

*/ @QtUninvokable public void writeTo(io.qt.core.@StrictNonNull QDataStream arg__1){ java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See QUrl::operator=(QString)

*/ @QtUninvokable public final void assign(java.lang.@NonNull String url){ assign_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), url); } @QtUninvokable private native void assign_native_cref_QString(long __this__nativeId, java.lang.String url); /** *

See QUrl::operator=(QUrl)

*/ @QtUninvokable public final void assign(io.qt.core.@NonNull QUrl copy){ assign_native_cref_QUrl(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(copy)); } @QtUninvokable private native void assign_native_cref_QUrl(long __this__nativeId, long copy); /** *

See QUrl::operator==(QUrl)const

*/ @QtUninvokable public final boolean equals(io.qt.core.@NonNull QUrl url){ return equals_native_cref_QUrl_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(url)); } @QtUninvokable private native boolean equals_native_cref_QUrl_constfct(long __this__nativeId, long url); /** *

See operator>>(QDataStream&,QUrl&)

*/ @QtUninvokable public void readFrom(io.qt.core.@StrictNonNull QDataStream arg__1){ java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See QUrl::password(QUrl::ComponentFormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String password(io.qt.core.QUrl.@NonNull ComponentFormattingOptions arg__1){ return password_native_QUrl_ComponentFormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @QtUninvokable private native java.lang.String password_native_QUrl_ComponentFormattingOptions_constfct(long __this__nativeId, int arg__1); /** *

See QUrl::path(QUrl::ComponentFormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String path(io.qt.core.QUrl.@NonNull ComponentFormattingOptions options){ return path_native_QUrl_ComponentFormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options.value()); } @QtUninvokable private native java.lang.String path_native_QUrl_ComponentFormattingOptions_constfct(long __this__nativeId, int options); /** *

See QUrl::port(int)const

*/ @QtUninvokable public final int port(int defaultPort){ return port_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), defaultPort); } @QtUninvokable private native int port_native_int_constfct(long __this__nativeId, int defaultPort); /** *

See QUrl::query(QUrl::ComponentFormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String query(io.qt.core.QUrl.@NonNull ComponentFormattingOptions arg__1){ return query_native_QUrl_ComponentFormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @QtUninvokable private native java.lang.String query_native_QUrl_ComponentFormattingOptions_constfct(long __this__nativeId, int arg__1); /** *

See QUrl::resolved(QUrl)const

*/ @QtUninvokable public final io.qt.core.@NonNull QUrl resolved(io.qt.core.@NonNull QUrl relative){ return resolved_native_cref_QUrl_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(relative)); } @QtUninvokable private native io.qt.core.QUrl resolved_native_cref_QUrl_constfct(long __this__nativeId, long relative); /** *

See QUrl::scheme()const

*/ @QtUninvokable public final java.lang.@NonNull String scheme(){ return scheme_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String scheme_native_constfct(long __this__nativeId); /** *

See QUrl::setAuthority(QString,QUrl::ParsingMode)

*/ @QtUninvokable public final void setAuthority(java.lang.@NonNull String authority, io.qt.core.QUrl.@NonNull ParsingMode mode){ setAuthority_native_cref_QString_QUrl_ParsingMode(QtJambi_LibraryUtilities.internal.nativeId(this), authority, mode.value()); } @QtUninvokable private native void setAuthority_native_cref_QString_QUrl_ParsingMode(long __this__nativeId, java.lang.String authority, int mode); /** *

See QUrl::setFragment(QString,QUrl::ParsingMode)

*/ @QtUninvokable public final void setFragment(java.lang.@NonNull String fragment, io.qt.core.QUrl.@NonNull ParsingMode mode){ setFragment_native_cref_QString_QUrl_ParsingMode(QtJambi_LibraryUtilities.internal.nativeId(this), fragment, mode.value()); } @QtUninvokable private native void setFragment_native_cref_QString_QUrl_ParsingMode(long __this__nativeId, java.lang.String fragment, int mode); /** *

See QUrl::setHost(QString,QUrl::ParsingMode)

*/ @QtUninvokable public final void setHost(java.lang.@NonNull String host, io.qt.core.QUrl.@NonNull ParsingMode mode){ setHost_native_cref_QString_QUrl_ParsingMode(QtJambi_LibraryUtilities.internal.nativeId(this), host, mode.value()); } @QtUninvokable private native void setHost_native_cref_QString_QUrl_ParsingMode(long __this__nativeId, java.lang.String host, int mode); /** *

See QUrl::setPassword(QString,QUrl::ParsingMode)

*/ @QtUninvokable public final void setPassword(java.lang.@NonNull String password, io.qt.core.QUrl.@NonNull ParsingMode mode){ setPassword_native_cref_QString_QUrl_ParsingMode(QtJambi_LibraryUtilities.internal.nativeId(this), password, mode.value()); } @QtUninvokable private native void setPassword_native_cref_QString_QUrl_ParsingMode(long __this__nativeId, java.lang.String password, int mode); /** *

See QUrl::setPath(QString,QUrl::ParsingMode)

*/ @QtUninvokable public final void setPath(java.lang.@NonNull String path, io.qt.core.QUrl.@NonNull ParsingMode mode){ setPath_native_cref_QString_QUrl_ParsingMode(QtJambi_LibraryUtilities.internal.nativeId(this), path, mode.value()); } @QtUninvokable private native void setPath_native_cref_QString_QUrl_ParsingMode(long __this__nativeId, java.lang.String path, int mode); /** *

See QUrl::setPort(int)

*/ @QtUninvokable public final void setPort(int port){ setPort_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), port); } @QtUninvokable private native void setPort_native_int(long __this__nativeId, int port); /** *

See QUrl::setQuery(QString,QUrl::ParsingMode)

*/ @QtUninvokable public final void setQuery(java.lang.@NonNull String query, io.qt.core.QUrl.@NonNull ParsingMode mode){ setQuery_native_cref_QString_QUrl_ParsingMode(QtJambi_LibraryUtilities.internal.nativeId(this), query, mode.value()); } @QtUninvokable private native void setQuery_native_cref_QString_QUrl_ParsingMode(long __this__nativeId, java.lang.String query, int mode); /** *

See QUrl::setQuery(QUrlQuery)

*/ @QtUninvokable public final void setQuery(io.qt.core.@NonNull QUrlQuery query){ setQuery_native_cref_QUrlQuery(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(query)); } @QtUninvokable private native void setQuery_native_cref_QUrlQuery(long __this__nativeId, long query); /** *

See QUrl::setScheme(QString)

*/ @QtUninvokable public final void setScheme(java.lang.@NonNull String scheme){ setScheme_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), scheme); } @QtUninvokable private native void setScheme_native_cref_QString(long __this__nativeId, java.lang.String scheme); /** *

See QUrl::setUrl(QString,QUrl::ParsingMode)

*/ @QtUninvokable public final void setUrl(java.lang.@NonNull String url, io.qt.core.QUrl.@NonNull ParsingMode mode){ setUrl_native_cref_QString_QUrl_ParsingMode(QtJambi_LibraryUtilities.internal.nativeId(this), url, mode.value()); } @QtUninvokable private native void setUrl_native_cref_QString_QUrl_ParsingMode(long __this__nativeId, java.lang.String url, int mode); /** *

See QUrl::setUserInfo(QString,QUrl::ParsingMode)

*/ @QtUninvokable public final void setUserInfo(java.lang.@NonNull String userInfo, io.qt.core.QUrl.@NonNull ParsingMode mode){ setUserInfo_native_cref_QString_QUrl_ParsingMode(QtJambi_LibraryUtilities.internal.nativeId(this), userInfo, mode.value()); } @QtUninvokable private native void setUserInfo_native_cref_QString_QUrl_ParsingMode(long __this__nativeId, java.lang.String userInfo, int mode); /** *

See QUrl::setUserName(QString,QUrl::ParsingMode)

*/ @QtUninvokable public final void setUserName(java.lang.@NonNull String userName, io.qt.core.QUrl.@NonNull ParsingMode mode){ setUserName_native_cref_QString_QUrl_ParsingMode(QtJambi_LibraryUtilities.internal.nativeId(this), userName, mode.value()); } @QtUninvokable private native void setUserName_native_cref_QString_QUrl_ParsingMode(long __this__nativeId, java.lang.String userName, int mode); /** *

See QUrl::swap(QUrl&)

*/ @QtUninvokable public final void swap(io.qt.core.@StrictNonNull QUrl other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QUrl(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QUrl(long __this__nativeId, long other); /** *

See QUrl::toDisplayString(QUrl::FormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String toDisplayString(io.qt.core.QUrl.@NonNull FormattingOptions options){ return toDisplayString_native_QUrl_FormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options); } @QtUninvokable private native java.lang.String toDisplayString_native_QUrl_FormattingOptions_constfct(long __this__nativeId, io.qt.core.QUrl.FormattingOptions options); /** *

See QUrl::toEncoded(QUrl::FormattingOptions)const

*/ @QtUninvokable public final io.qt.core.@NonNull QByteArray toEncoded(io.qt.core.QUrl.@NonNull FormattingOptions options){ return toEncoded_native_QUrl_FormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options); } @QtUninvokable private native io.qt.core.QByteArray toEncoded_native_QUrl_FormattingOptions_constfct(long __this__nativeId, io.qt.core.QUrl.FormattingOptions options); /** *

See QUrl::toLocalFile()const

*/ @QtUninvokable public final java.lang.@NonNull String toLocalFile(){ return toLocalFile_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String toLocalFile_native_constfct(long __this__nativeId); /** *

See QUrl::toString(QUrl::FormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String toString(io.qt.core.QUrl.@NonNull FormattingOptions options){ return toString_native_QUrl_FormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options); } @QtUninvokable private native java.lang.String toString_native_QUrl_FormattingOptions_constfct(long __this__nativeId, io.qt.core.QUrl.FormattingOptions options); /** *

See QUrl::url(QUrl::FormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String url(io.qt.core.QUrl.@NonNull FormattingOptions options){ return url_native_QUrl_FormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options); } @QtUninvokable private native java.lang.String url_native_QUrl_FormattingOptions_constfct(long __this__nativeId, io.qt.core.QUrl.FormattingOptions options); /** *

See QUrl::userInfo(QUrl::ComponentFormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String userInfo(io.qt.core.QUrl.@NonNull ComponentFormattingOptions options){ return userInfo_native_QUrl_ComponentFormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options.value()); } @QtUninvokable private native java.lang.String userInfo_native_QUrl_ComponentFormattingOptions_constfct(long __this__nativeId, int options); /** *

See QUrl::userName(QUrl::ComponentFormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String userName(io.qt.core.QUrl.@NonNull ComponentFormattingOptions options){ return userName_native_QUrl_ComponentFormattingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options.value()); } @QtUninvokable private native java.lang.String userName_native_QUrl_ComponentFormattingOptions_constfct(long __this__nativeId, int options); /** *

See QUrl::fromAce(QByteArray,QUrl::AceProcessingOptions)

*

This function was introduced in Qt 6.3.

*/ public static java.lang.@NonNull String fromAce(io.qt.core.@NonNull QByteArray domain, io.qt.core.QUrl.@NonNull AceProcessingOptions options){ return fromAce_native_cref_QByteArray_QUrl_AceProcessingOptions(QtJambi_LibraryUtilities.internal.checkedNativeId(domain), options.value()); } private native static java.lang.String fromAce_native_cref_QByteArray_QUrl_AceProcessingOptions(long domain, int options); /** *

See QUrl::fromEncoded(QByteArrayView,QUrl::ParsingMode)

*/ public static io.qt.core.@NonNull QUrl fromEncoded(io.qt.core.@NonNull QByteArrayView input, io.qt.core.QUrl.@NonNull ParsingMode mode){ return fromEncoded_native_QByteArrayView_QUrl_ParsingMode(QtJambi_LibraryUtilities.internal.checkedNativeId(input), mode.value()); } private native static io.qt.core.QUrl fromEncoded_native_QByteArrayView_QUrl_ParsingMode(long input, int mode); /** *

See QUrl::fromLocalFile(QString)

*/ public native static io.qt.core.@NonNull QUrl fromLocalFile(java.lang.@NonNull String localfile); /** *

See QUrl::fromPercentEncoding(QByteArray)

*/ public static java.lang.@NonNull String fromPercentEncoding(io.qt.core.@NonNull QByteArray arg__1){ return fromPercentEncoding_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } private native static java.lang.String fromPercentEncoding_native_cref_QByteArray(long arg__1); /** *

See QUrl::fromStringList(QStringList,QUrl::ParsingMode)

*/ public static io.qt.core.@NonNull QList fromStringList(java.util.@NonNull Collection uris, io.qt.core.QUrl.@NonNull ParsingMode mode){ return fromStringList_native_cref_QStringList_QUrl_ParsingMode(uris, mode.value()); } private native static io.qt.core.QList fromStringList_native_cref_QStringList_QUrl_ParsingMode(java.util.Collection uris, int mode); /** *

See QUrl::fromUserInput(QString,QString,QUrl::UserInputResolutionOptions)

*/ public static io.qt.core.@NonNull QUrl fromUserInput(java.lang.@NonNull String userInput, java.lang.@NonNull String workingDirectory, io.qt.core.QUrl.@NonNull UserInputResolutionOptions options){ return fromUserInput_native_cref_QString_cref_QString_QUrl_UserInputResolutionOptions(userInput, workingDirectory, options.value()); } private native static io.qt.core.QUrl fromUserInput_native_cref_QString_cref_QString_QUrl_UserInputResolutionOptions(java.lang.String userInput, java.lang.String workingDirectory, int options); /** *

See QUrl::idnWhitelist()

*/ public native static io.qt.core.@NonNull QStringList idnWhitelist(); /** *

See QUrl::setIdnWhitelist(QStringList)

*/ public native static void setIdnWhitelist(java.util.@NonNull Collection arg__1); /** *

See QUrl::toAce(QString,QUrl::AceProcessingOptions)

*

This function was introduced in Qt 6.3.

*/ public static io.qt.core.@NonNull QByteArray toAce(java.lang.@NonNull String domain, io.qt.core.QUrl.@NonNull AceProcessingOptions options){ return toAce_native_cref_QString_QUrl_AceProcessingOptions(domain, options.value()); } private native static io.qt.core.QByteArray toAce_native_cref_QString_QUrl_AceProcessingOptions(java.lang.String domain, int options); /** *

See QUrl::toPercentEncoding(QString,QByteArray,QByteArray)

*/ public static io.qt.core.@NonNull QByteArray toPercentEncoding(java.lang.@NonNull String arg__1, io.qt.core.@NonNull QByteArray exclude, io.qt.core.@NonNull QByteArray include){ return toPercentEncoding_native_cref_QString_cref_QByteArray_cref_QByteArray(arg__1, QtJambi_LibraryUtilities.internal.checkedNativeId(exclude), QtJambi_LibraryUtilities.internal.checkedNativeId(include)); } private native static io.qt.core.QByteArray toPercentEncoding_native_cref_QString_cref_QByteArray_cref_QByteArray(java.lang.String arg__1, long exclude, long include); /** *

See QUrl::toStringList(QList<QUrl>,QUrl::FormattingOptions)

*/ public native static io.qt.core.@NonNull QStringList toStringList(java.util.@NonNull Collection uris, io.qt.core.QUrl.@NonNull FormattingOptions options); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QUrl(QPrivateConstructor p) { super(p); } /** *

See QUrl::operator==(QUrl)const

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other==null || other instanceof io.qt.core.QUrl) { return equals((io.qt.core.QUrl) other); } return false; } /** *

See QUrl::operator<(QUrl)const

*/ @QtUninvokable public int compareTo(io.qt.core.@StrictNonNull QUrl other) { if (equals(other)) return 0; else if (operator_less(other)) return -1; else return 1; } /** * Returns the objects's hash code computed by qHash(QUrl). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** * Supertype interface for {@link UrlFormattingOption} and {@link ComponentFormattingOption} * to be joined in QFiags type {@link FormattingOptions} */ public interface FormattingOption extends QtFlagEnumerator{ public final static @NonNull FormattingOption None = UrlFormattingOption.None; public final static @NonNull FormattingOption RemoveScheme = UrlFormattingOption.RemoveScheme; public final static @NonNull FormattingOption RemovePassword = UrlFormattingOption.RemovePassword; public final static @NonNull FormattingOption RemoveUserInfo = UrlFormattingOption.RemoveUserInfo; public final static @NonNull FormattingOption RemovePort = UrlFormattingOption.RemovePort; public final static @NonNull FormattingOption RemoveAuthority = UrlFormattingOption.RemoveAuthority; public final static @NonNull FormattingOption RemovePath = UrlFormattingOption.RemovePath; public final static @NonNull FormattingOption RemoveQuery = UrlFormattingOption.RemoveQuery; public final static @NonNull FormattingOption RemoveFragment = UrlFormattingOption.RemoveFragment; public final static @NonNull FormattingOption PreferLocalFile = UrlFormattingOption.PreferLocalFile; public final static @NonNull FormattingOption StripTrailingSlash = UrlFormattingOption.StripTrailingSlash; public final static @NonNull FormattingOption RemoveFilename = UrlFormattingOption.RemoveFilename; public final static @NonNull FormattingOption NormalizePathSegments = UrlFormattingOption.NormalizePathSegments; public final static @NonNull FormattingOption EncodeSpaces = ComponentFormattingOption.EncodeSpaces; public final static @NonNull FormattingOption EncodeUnicode = ComponentFormattingOption.EncodeUnicode; public final static @NonNull FormattingOption EncodeDelimiters = ComponentFormattingOption.EncodeDelimiters; public final static @NonNull FormattingOption EncodeReserved = ComponentFormattingOption.EncodeReserved; public final static @NonNull FormattingOption DecodeReserved = ComponentFormattingOption.DecodeReserved; public final static @NonNull FormattingOption FullyEncoded = ComponentFormattingOption.FullyEncoded; public final static @NonNull FormattingOption FullyDecoded = ComponentFormattingOption.FullyDecoded; /** * Creates a new {@link FormattingOptions} from the entries. * @param values entries * @return new flag */ public static @NonNull FormattingOptions flags(@NonNull FormattingOption @NonNull... values) { return new FormattingOptions(values); } /** * Create a QFlags of the enum entry. * @return QFlags */ public default @NonNull QFlags asFlags() { return new FormattingOptions(value()); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public default @NonNull FormattingOptions combined(@NonNull FormattingOption e) { return new FormattingOptions(value()).setFlag(e, true); } /** * Excludes other enum entry from a flag of this entry. * @param e enum entry * @return new flag */ public default @NonNull FormattingOptions cleared(@NonNull FormattingOption e) { return new FormattingOptions(value()).setFlag(e, false); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull FormattingOption resolve(int value) { try { return UrlFormattingOption.resolve(value); }catch(QNoSuchEnumValueException e){ return ComponentFormattingOption.resolve(value); } } public static @NonNull FormattingOption @NonNull[] values() { UrlFormattingOption[] v1 = UrlFormattingOption.values(); ComponentFormattingOption[] v2 = ComponentFormattingOption.values(); FormattingOption[] values = new FormattingOption[v1.length + v2.length]; System.arraycopy(v1, 0, values, 0, v1.length); System.arraycopy(v2, 0, values, v1.length, v2.length); return values; } } /** * QFlags type for joining {@link UrlFormattingOption} and {@link ComponentFormattingOption}. */ public static final class FormattingOptions extends QFlags<@NonNull FormattingOption> implements Comparable<@NonNull FormattingOptions> { private static final long serialVersionUID = -4458464052834800982L; public FormattingOptions(@Nullable FormattingOption @NonNull... args) { super(args); for (FormattingOption arg : args) { if( !(arg instanceof UrlFormattingOption) && !(arg instanceof ComponentFormattingOption) ) { throw new IllegalArgumentException("Custom implementations of FormattingOption (" + QtJambi_LibraryUtilities.internal.getClass(arg).getName() + ") are not allowed."); } } } public FormattingOptions(int value) { super(value); } @Override public @NonNull FormattingOptions clone() { return new FormattingOptions(value()); } @Override public @NonNull FormattingOptions combined(@StrictNonNull FormattingOption flag) { if( !(flag instanceof UrlFormattingOption) && !(flag instanceof ComponentFormattingOption) ) { throw new IllegalArgumentException("Custom implementations of FormattingOption (" + QtJambi_LibraryUtilities.internal.getClass(flag).getName() + ") are not allowed."); } return clone().setFlag(flag, true); } @Override public @NonNull FormattingOptions cleared(@StrictNonNull FormattingOption flag) { if( !(flag instanceof UrlFormattingOption) && !(flag instanceof ComponentFormattingOption) ) { throw new IllegalArgumentException("Custom implementations of FormattingOption (" + QtJambi_LibraryUtilities.internal.getClass(flag).getName() + ") are not allowed."); } return clone().setFlag(flag, false); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull FormattingOptions setFlag(@Nullable FormattingOption e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final @NonNull FormattingOptions setFlag(@Nullable FormattingOption e, boolean on){ if(e!=null){ if (on) { setValue(value() | e.value()); }else { setValue(value() & ~e.value()); } } return this; } @Override public @NonNull FormattingOption @NonNull[] flags() { return super.flags(FormattingOption.values()); } @Override public int compareTo(@StrictNonNull FormattingOptions o) { return Integer.compare(value(), o.value()); } } /** *

See QUrl::toDisplayString(QUrl::FormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String toDisplayString(@NonNull FormattingOption @NonNull... options) { return toDisplayString(new FormattingOptions(options)); } /** *

See QUrl::toString(QUrl::FormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String toString(@NonNull FormattingOption @NonNull... options) { return toString(new FormattingOptions(options)); } /** *

See QUrl::url(QUrl::FormattingOptions)const

*/ @QtUninvokable public final java.lang.@NonNull String url(@NonNull FormattingOption @NonNull... options) { return url(new FormattingOptions(options)); } /** *

See QUrl::toEncoded(QUrl::FormattingOptions)const

*/ @QtUninvokable public final io.qt.core.@NonNull QByteArray toEncoded(@NonNull FormattingOption @NonNull... options) { return toEncoded(new FormattingOptions(options)); } /** *

See QUrl::toStringList(QList<QUrl>,QUrl::FormattingOptions)

*/ public static @NonNull QStringList toStringList(java.util.Collection uris, @NonNull FormattingOption @NonNull... options){ return toStringList(uris, new FormattingOptions(options)); } /** *

See QUrl::adjusted(QUrl::FormattingOptions)const

*/ @QtUninvokable public final io.qt.core.@NonNull QUrl adjusted(io.qt.core.QUrl.@NonNull FormattingOption @NonNull... options){ return adjusted(new FormattingOptions(options)); } /** * @deprecated Use new QUrl("qrc:path") instead. */ @Deprecated public static io.qt.core.@NonNull QUrl fromClassPath(java.lang.@NonNull String classpath){ return new io.qt.core.QUrl("qrc:"+classpath); } /** *

Creates and returns a copy of this object.

See QUrl::QUrl(QUrl)

*/ @QtUninvokable @Override public QUrl clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QUrl clone_native(long __this_nativeId); /** *

Overloaded constructor for {@link #QUrl(java.lang.String, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.TolerantMode.

*/ public QUrl(java.lang.@NonNull String url) { this(url, io.qt.core.QUrl.ParsingMode.TolerantMode); } /** *

Overloaded function for {@link #authority(io.qt.core.QUrl.ComponentFormattingOptions)} * with options = new io.qt.core.QUrl.ComponentFormattingOptions(0).

*/ @QtUninvokable public final java.lang.@NonNull String authority() { return authority(new io.qt.core.QUrl.ComponentFormattingOptions(0)); } /** *

Overloaded function for {@link #authority(io.qt.core.QUrl.ComponentFormattingOptions)}.

*/ @QtUninvokable public final java.lang.@NonNull String authority(io.qt.core.QUrl.@NonNull ComponentFormattingOption @NonNull... options) { return authority(new io.qt.core.QUrl.ComponentFormattingOptions(options)); } /** *

Overloaded function for {@link #fileName(io.qt.core.QUrl.ComponentFormattingOptions)} * with options = new io.qt.core.QUrl.ComponentFormattingOptions(133169152).

*/ @QtUninvokable public final java.lang.@NonNull String fileName() { return fileName(new io.qt.core.QUrl.ComponentFormattingOptions(133169152)); } /** *

Overloaded function for {@link #fileName(io.qt.core.QUrl.ComponentFormattingOptions)}.

*/ @QtUninvokable public final java.lang.@NonNull String fileName(io.qt.core.QUrl.@NonNull ComponentFormattingOption @NonNull... options) { return fileName(new io.qt.core.QUrl.ComponentFormattingOptions(options)); } /** *

Overloaded function for {@link #fragment(io.qt.core.QUrl.ComponentFormattingOptions)} * with options = new io.qt.core.QUrl.ComponentFormattingOptions(0).

*/ @QtUninvokable public final java.lang.@NonNull String fragment() { return fragment(new io.qt.core.QUrl.ComponentFormattingOptions(0)); } /** *

Overloaded function for {@link #fragment(io.qt.core.QUrl.ComponentFormattingOptions)}.

*/ @QtUninvokable public final java.lang.@NonNull String fragment(io.qt.core.QUrl.@NonNull ComponentFormattingOption @NonNull... options) { return fragment(new io.qt.core.QUrl.ComponentFormattingOptions(options)); } /** *

Overloaded function for {@link #host(io.qt.core.QUrl.ComponentFormattingOptions)} * with arg__1 = new io.qt.core.QUrl.ComponentFormattingOptions(133169152).

*/ @QtUninvokable public final java.lang.@NonNull String host() { return host(new io.qt.core.QUrl.ComponentFormattingOptions(133169152)); } /** *

Overloaded function for {@link #host(io.qt.core.QUrl.ComponentFormattingOptions)}.

*/ @QtUninvokable public final java.lang.@NonNull String host(io.qt.core.QUrl.@NonNull ComponentFormattingOption @NonNull... arg__1) { return host(new io.qt.core.QUrl.ComponentFormattingOptions(arg__1)); } /** *

Overloaded function for {@link #isParentOf(io.qt.core.QUrl)}.

*/ @QtUninvokable public final boolean isParentOf(java.lang.@NonNull String url) { return isParentOf(new io.qt.core.QUrl(url)); } /** *

Overloaded function for {@link #matches(io.qt.core.QUrl, io.qt.core.QUrl.FormattingOptions)}.

*/ @QtUninvokable public final boolean matches(java.lang.@NonNull String url, io.qt.core.QUrl.@NonNull FormattingOptions options) { return matches(new io.qt.core.QUrl(url), options); } /** *

Overloaded function for {@link #operator_less(io.qt.core.QUrl)}.

*/ @QtUninvokable private final boolean operator_less(java.lang.@NonNull String url) { return operator_less(new io.qt.core.QUrl(url)); } /** *

Overloaded function for {@link #equals(io.qt.core.QUrl)}.

*/ @QtUninvokable public final boolean equals(java.lang.@NonNull String url) { return equals(new io.qt.core.QUrl(url)); } /** *

Overloaded function for {@link #password(io.qt.core.QUrl.ComponentFormattingOptions)} * with arg__1 = new io.qt.core.QUrl.ComponentFormattingOptions(133169152).

*/ @QtUninvokable public final java.lang.@NonNull String password() { return password(new io.qt.core.QUrl.ComponentFormattingOptions(133169152)); } /** *

Overloaded function for {@link #password(io.qt.core.QUrl.ComponentFormattingOptions)}.

*/ @QtUninvokable public final java.lang.@NonNull String password(io.qt.core.QUrl.@NonNull ComponentFormattingOption @NonNull... arg__1) { return password(new io.qt.core.QUrl.ComponentFormattingOptions(arg__1)); } /** *

Overloaded function for {@link #path(io.qt.core.QUrl.ComponentFormattingOptions)} * with options = new io.qt.core.QUrl.ComponentFormattingOptions(133169152).

*/ @QtUninvokable public final java.lang.@NonNull String path() { return path(new io.qt.core.QUrl.ComponentFormattingOptions(133169152)); } /** *

Overloaded function for {@link #path(io.qt.core.QUrl.ComponentFormattingOptions)}.

*/ @QtUninvokable public final java.lang.@NonNull String path(io.qt.core.QUrl.@NonNull ComponentFormattingOption @NonNull... options) { return path(new io.qt.core.QUrl.ComponentFormattingOptions(options)); } /** *

Overloaded function for {@link #port(int)} * with defaultPort = -1.

*/ @QtUninvokable public final int port() { return port((int)-1); } /** *

Overloaded function for {@link #query(io.qt.core.QUrl.ComponentFormattingOptions)} * with arg__1 = new io.qt.core.QUrl.ComponentFormattingOptions(0).

*/ @QtUninvokable public final java.lang.@NonNull String query() { return query(new io.qt.core.QUrl.ComponentFormattingOptions(0)); } /** *

Overloaded function for {@link #query(io.qt.core.QUrl.ComponentFormattingOptions)}.

*/ @QtUninvokable public final java.lang.@NonNull String query(io.qt.core.QUrl.@NonNull ComponentFormattingOption @NonNull... arg__1) { return query(new io.qt.core.QUrl.ComponentFormattingOptions(arg__1)); } /** *

Overloaded function for {@link #resolved(io.qt.core.QUrl)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QUrl resolved(java.lang.@NonNull String relative) { return resolved(new io.qt.core.QUrl(relative)); } /** *

Overloaded function for {@link #setAuthority(java.lang.String, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.TolerantMode.

*/ @QtUninvokable public final void setAuthority(java.lang.@NonNull String authority) { setAuthority(authority, io.qt.core.QUrl.ParsingMode.TolerantMode); } /** *

Overloaded function for {@link #setFragment(java.lang.String, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.TolerantMode.

*/ @QtUninvokable public final void setFragment(java.lang.@NonNull String fragment) { setFragment(fragment, io.qt.core.QUrl.ParsingMode.TolerantMode); } /** *

Overloaded function for {@link #setHost(java.lang.String, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.DecodedMode.

*/ @QtUninvokable public final void setHost(java.lang.@NonNull String host) { setHost(host, io.qt.core.QUrl.ParsingMode.DecodedMode); } /** *

Overloaded function for {@link #setPassword(java.lang.String, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.DecodedMode.

*/ @QtUninvokable public final void setPassword(java.lang.@NonNull String password) { setPassword(password, io.qt.core.QUrl.ParsingMode.DecodedMode); } /** *

Overloaded function for {@link #setPath(java.lang.String, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.DecodedMode.

*/ @QtUninvokable public final void setPath(java.lang.@NonNull String path) { setPath(path, io.qt.core.QUrl.ParsingMode.DecodedMode); } /** *

Overloaded function for {@link #setQuery(java.lang.String, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.TolerantMode.

*/ @QtUninvokable public final void setQuery(java.lang.@NonNull String query) { setQuery(query, io.qt.core.QUrl.ParsingMode.TolerantMode); } /** *

Overloaded function for {@link #setUrl(java.lang.String, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.TolerantMode.

*/ @QtUninvokable public final void setUrl(java.lang.@NonNull String url) { setUrl(url, io.qt.core.QUrl.ParsingMode.TolerantMode); } /** *

Overloaded function for {@link #setUserInfo(java.lang.String, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.TolerantMode.

*/ @QtUninvokable public final void setUserInfo(java.lang.@NonNull String userInfo) { setUserInfo(userInfo, io.qt.core.QUrl.ParsingMode.TolerantMode); } /** *

Overloaded function for {@link #setUserName(java.lang.String, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.DecodedMode.

*/ @QtUninvokable public final void setUserName(java.lang.@NonNull String userName) { setUserName(userName, io.qt.core.QUrl.ParsingMode.DecodedMode); } /** *

Overloaded function for {@link #toDisplayString(io.qt.core.QUrl.FormattingOptions)} * with options = new FormattingOptions(ComponentFormattingOption.PrettyDecoded).

*/ @QtUninvokable public final java.lang.@NonNull String toDisplayString() { return toDisplayString(new FormattingOptions(ComponentFormattingOption.PrettyDecoded)); } /** *

Overloaded function for {@link #toEncoded(io.qt.core.QUrl.FormattingOptions)} * with options = new FormattingOptions(ComponentFormattingOption.PrettyDecoded).

*/ @QtUninvokable public final io.qt.core.@NonNull QByteArray toEncoded() { return toEncoded(new FormattingOptions(ComponentFormattingOption.PrettyDecoded)); } /** *

Overloaded function for {@link #toString(io.qt.core.QUrl.FormattingOptions)} * with options = new FormattingOptions(ComponentFormattingOption.PrettyDecoded).

*/ @QtUninvokable public final java.lang.@NonNull String toString() { return toString(new FormattingOptions(ComponentFormattingOption.PrettyDecoded)); } /** *

Overloaded function for {@link #url(io.qt.core.QUrl.FormattingOptions)} * with options = new FormattingOptions(ComponentFormattingOption.PrettyDecoded).

*/ @QtUninvokable public final java.lang.@NonNull String url() { return url(new FormattingOptions(ComponentFormattingOption.PrettyDecoded)); } /** *

Overloaded function for {@link #userInfo(io.qt.core.QUrl.ComponentFormattingOptions)} * with options = new io.qt.core.QUrl.ComponentFormattingOptions(0).

*/ @QtUninvokable public final java.lang.@NonNull String userInfo() { return userInfo(new io.qt.core.QUrl.ComponentFormattingOptions(0)); } /** *

Overloaded function for {@link #userInfo(io.qt.core.QUrl.ComponentFormattingOptions)}.

*/ @QtUninvokable public final java.lang.@NonNull String userInfo(io.qt.core.QUrl.@NonNull ComponentFormattingOption @NonNull... options) { return userInfo(new io.qt.core.QUrl.ComponentFormattingOptions(options)); } /** *

Overloaded function for {@link #userName(io.qt.core.QUrl.ComponentFormattingOptions)} * with options = new io.qt.core.QUrl.ComponentFormattingOptions(133169152).

*/ @QtUninvokable public final java.lang.@NonNull String userName() { return userName(new io.qt.core.QUrl.ComponentFormattingOptions(133169152)); } /** *

Overloaded function for {@link #userName(io.qt.core.QUrl.ComponentFormattingOptions)}.

*/ @QtUninvokable public final java.lang.@NonNull String userName(io.qt.core.QUrl.@NonNull ComponentFormattingOption @NonNull... options) { return userName(new io.qt.core.QUrl.ComponentFormattingOptions(options)); } /** *

Overloaded function for {@link #fromAce(io.qt.core.QByteArray, io.qt.core.QUrl.AceProcessingOptions)} * with options = new io.qt.core.QUrl.AceProcessingOptions(0).

*/ public static java.lang.@NonNull String fromAce(io.qt.core.@NonNull QByteArray domain) { return fromAce(domain, new io.qt.core.QUrl.AceProcessingOptions(0)); } /** *

Overloaded function for {@link #fromAce(byte[], io.qt.core.QUrl.AceProcessingOptions)} * with options = new io.qt.core.QUrl.AceProcessingOptions(0).

*/ public static java.lang.@NonNull String fromAce(byte @NonNull[] domain) { return fromAce(domain, new io.qt.core.QUrl.AceProcessingOptions(0)); } /** *

Overloaded function for {@link #fromAce(io.qt.core.QByteArray, io.qt.core.QUrl.AceProcessingOptions)}.

*/ public static java.lang.@NonNull String fromAce(byte @NonNull[] domain, io.qt.core.QUrl.@NonNull AceProcessingOptions options) { return fromAce(new io.qt.core.QByteArray(domain), options); } /** *

Overloaded function for {@link #fromAce(io.qt.core.QByteArray, io.qt.core.QUrl.AceProcessingOptions)}.

*/ public static java.lang.@NonNull String fromAce(io.qt.core.@NonNull QByteArray domain, io.qt.core.QUrl.@NonNull AceProcessingOption @NonNull... options) { return fromAce(domain, new io.qt.core.QUrl.AceProcessingOptions(options)); } /** *

Overloaded function for {@link #fromAce(io.qt.core.QByteArray, io.qt.core.QUrl.AceProcessingOptions)}.

*/ public static java.lang.@NonNull String fromAce(byte @NonNull[] domain, io.qt.core.QUrl.@NonNull AceProcessingOption @NonNull... options) { return fromAce(new io.qt.core.QByteArray(domain), new io.qt.core.QUrl.AceProcessingOptions(options)); } /** *

Overloaded function for {@link #fromEncoded(io.qt.core.QByteArrayView, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.TolerantMode.

*/ public static io.qt.core.@NonNull QUrl fromEncoded(io.qt.core.@NonNull QByteArrayView input) { return fromEncoded(input, io.qt.core.QUrl.ParsingMode.TolerantMode); } /** *

Overloaded function for {@link #fromEncoded(io.qt.core.QByteArray, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.TolerantMode.

*/ public static io.qt.core.@NonNull QUrl fromEncoded(io.qt.core.@NonNull QByteArray input) { return fromEncoded(input, io.qt.core.QUrl.ParsingMode.TolerantMode); } /** *

Overloaded function for {@link #fromEncoded(io.qt.core.QByteArrayView, io.qt.core.QUrl.ParsingMode)}.

*/ public static io.qt.core.@NonNull QUrl fromEncoded(io.qt.core.@NonNull QByteArray input, io.qt.core.QUrl.@NonNull ParsingMode mode) { return fromEncoded(new io.qt.core.QByteArrayView(input), mode); } /** *

Overloaded function for {@link #fromEncoded(java.nio.ByteBuffer, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.TolerantMode.

*/ public static io.qt.core.@NonNull QUrl fromEncoded(java.nio.@NonNull ByteBuffer input) { return fromEncoded(input, io.qt.core.QUrl.ParsingMode.TolerantMode); } /** *

Overloaded function for {@link #fromEncoded(io.qt.core.QByteArrayView, io.qt.core.QUrl.ParsingMode)}.

*/ public static io.qt.core.@NonNull QUrl fromEncoded(java.nio.@NonNull ByteBuffer input, io.qt.core.QUrl.@NonNull ParsingMode mode) { return fromEncoded(new io.qt.core.QByteArrayView(input), mode); } /** *

Overloaded function for {@link #fromEncoded(byte[], io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.TolerantMode.

*/ public static io.qt.core.@NonNull QUrl fromEncoded(byte @NonNull[] input) { return fromEncoded(input, io.qt.core.QUrl.ParsingMode.TolerantMode); } /** *

Overloaded function for {@link #fromEncoded(io.qt.core.QByteArrayView, io.qt.core.QUrl.ParsingMode)}.

*/ public static io.qt.core.@NonNull QUrl fromEncoded(byte @NonNull[] input, io.qt.core.QUrl.@NonNull ParsingMode mode) { return fromEncoded(new io.qt.core.QByteArrayView(input), mode); } /** *

Overloaded function for {@link #fromPercentEncoding(io.qt.core.QByteArray)}.

*/ public static java.lang.@NonNull String fromPercentEncoding(byte @NonNull[] arg__1) { return fromPercentEncoding(new io.qt.core.QByteArray(arg__1)); } /** *

Overloaded function for {@link #fromStringList(java.util.Collection, io.qt.core.QUrl.ParsingMode)} * with mode = io.qt.core.QUrl.ParsingMode.TolerantMode.

*/ public static io.qt.core.@NonNull QList fromStringList(java.util.@NonNull Collection uris) { return fromStringList(uris, io.qt.core.QUrl.ParsingMode.TolerantMode); } /** *

Overloaded function for {@link #fromUserInput(java.lang.String, java.lang.String, io.qt.core.QUrl.UserInputResolutionOptions)} * with options = new io.qt.core.QUrl.UserInputResolutionOptions(0).

*/ public static io.qt.core.@NonNull QUrl fromUserInput(java.lang.@NonNull String userInput, java.lang.@NonNull String workingDirectory) { return fromUserInput(userInput, workingDirectory, new io.qt.core.QUrl.UserInputResolutionOptions(0)); } /** *

Overloaded function for {@link #fromUserInput(java.lang.String, java.lang.String, io.qt.core.QUrl.UserInputResolutionOptions)}

*

with:

    *
  • workingDirectory = (String)null
  • *
  • options = new io.qt.core.QUrl.UserInputResolutionOptions(0)
  • *
*/ public static io.qt.core.@NonNull QUrl fromUserInput(java.lang.@NonNull String userInput) { return fromUserInput(userInput, (String)null, new io.qt.core.QUrl.UserInputResolutionOptions(0)); } /** *

Overloaded function for {@link #fromUserInput(java.lang.String, java.lang.String, io.qt.core.QUrl.UserInputResolutionOptions)}.

*/ public static io.qt.core.@NonNull QUrl fromUserInput(java.lang.@NonNull String userInput, java.lang.@NonNull String workingDirectory, io.qt.core.QUrl.@NonNull UserInputResolutionOption @NonNull... options) { return fromUserInput(userInput, workingDirectory, new io.qt.core.QUrl.UserInputResolutionOptions(options)); } /** *

Overloaded function for {@link #toAce(java.lang.String, io.qt.core.QUrl.AceProcessingOptions)} * with options = new io.qt.core.QUrl.AceProcessingOptions(0).

*/ public static io.qt.core.@NonNull QByteArray toAce(java.lang.@NonNull String domain) { return toAce(domain, new io.qt.core.QUrl.AceProcessingOptions(0)); } /** *

Overloaded function for {@link #toAce(java.lang.String, io.qt.core.QUrl.AceProcessingOptions)}.

*/ public static io.qt.core.@NonNull QByteArray toAce(java.lang.@NonNull String domain, io.qt.core.QUrl.@NonNull AceProcessingOption @NonNull... options) { return toAce(domain, new io.qt.core.QUrl.AceProcessingOptions(options)); } /** *

Overloaded function for {@link #toPercentEncoding(java.lang.String, io.qt.core.QByteArray, io.qt.core.QByteArray)} * with include = new io.qt.core.QByteArray().

*/ public static io.qt.core.@NonNull QByteArray toPercentEncoding(java.lang.@NonNull String arg__1, io.qt.core.@NonNull QByteArray exclude) { return toPercentEncoding(arg__1, exclude, new io.qt.core.QByteArray()); } /** *

Overloaded function for {@link #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()
  • *
*/ public static io.qt.core.@NonNull QByteArray toPercentEncoding(java.lang.@NonNull String arg__1) { return toPercentEncoding(arg__1, new io.qt.core.QByteArray(), new io.qt.core.QByteArray()); } /** *

Overloaded function for {@link #toPercentEncoding(java.lang.String, byte[], io.qt.core.QByteArray)} * with include = new io.qt.core.QByteArray().

*/ public static io.qt.core.@NonNull QByteArray toPercentEncoding(java.lang.@NonNull String arg__1, byte @NonNull[] exclude) { return toPercentEncoding(arg__1, exclude, new io.qt.core.QByteArray()); } /** *

Overloaded function for {@link #toPercentEncoding(java.lang.String, io.qt.core.QByteArray, io.qt.core.QByteArray)}.

*/ public static io.qt.core.@NonNull QByteArray toPercentEncoding(java.lang.@NonNull String arg__1, byte @NonNull[] exclude, io.qt.core.@NonNull QByteArray include) { return toPercentEncoding(arg__1, new io.qt.core.QByteArray(exclude), include); } /** *

Overloaded function for {@link #toPercentEncoding(java.lang.String, io.qt.core.QByteArray, io.qt.core.QByteArray)}.

*/ public static io.qt.core.@NonNull QByteArray toPercentEncoding(java.lang.@NonNull String arg__1, io.qt.core.@NonNull QByteArray exclude, byte @NonNull[] include) { return toPercentEncoding(arg__1, exclude, new io.qt.core.QByteArray(include)); } /** *

Overloaded function for {@link #toPercentEncoding(java.lang.String, io.qt.core.QByteArray, io.qt.core.QByteArray)}.

*/ public static io.qt.core.@NonNull QByteArray toPercentEncoding(java.lang.@NonNull String arg__1, byte @NonNull[] exclude, byte @NonNull[] include) { return toPercentEncoding(arg__1, new io.qt.core.QByteArray(exclude), new io.qt.core.QByteArray(include)); } /** *

Overloaded function for {@link #toStringList(java.util.Collection, io.qt.core.QUrl.FormattingOptions)} * with options = new FormattingOptions(ComponentFormattingOption.PrettyDecoded).

*/ public static io.qt.core.@NonNull QStringList toStringList(java.util.@NonNull Collection uris) { return toStringList(uris, new FormattingOptions(ComponentFormattingOption.PrettyDecoded)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy