public class UriBuilder extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.UriBuilder
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.Uri, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.Uri
|
static java.lang.String |
className
Qualified class name: System.UriBuilder
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
UriBuilder()
Initializes a new instance by invoking the .NET constructor.
|
UriBuilder(java.lang.Object instance)
Internal constructor.
|
UriBuilder(java.lang.String uri)
Initializes a new instance by invoking the .NET constructor.
|
UriBuilder(java.lang.String schemeName,
java.lang.String hostName)
Initializes a new instance by invoking the .NET constructor.
|
UriBuilder(java.lang.String scheme,
java.lang.String host,
int portNumber)
Initializes a new instance by invoking the .NET constructor.
|
UriBuilder(java.lang.String scheme,
java.lang.String host,
int port,
java.lang.String pathValue)
Initializes a new instance by invoking the .NET constructor.
|
UriBuilder(java.lang.String scheme,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String extraValue)
Initializes a new instance by invoking the .NET constructor.
|
UriBuilder(Uri uri)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static UriBuilder |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into UriBuilder, a cast assert is made to check if types are compatible. |
java.lang.String |
getFragment()
Gets the value of the .NET property Fragment.
|
java.lang.String |
getHost()
Gets the value of the .NET property Host.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
java.lang.String |
getPassword()
Gets the value of the .NET property Password.
|
java.lang.String |
getPath()
Gets the value of the .NET property Path.
|
int |
getPort()
Gets the value of the .NET property Port.
|
java.lang.String |
getQuery()
Gets the value of the .NET property Query.
|
java.lang.String |
getScheme()
Gets the value of the .NET property Scheme.
|
Uri |
getUri()
Gets the value of the .NET property Uri.
|
java.lang.String |
getUserName()
Gets the value of the .NET property UserName.
|
void |
setFragment(java.lang.String Fragment)
Sets the value of the .NET property Fragment.
|
void |
setHost(java.lang.String Host)
Sets the value of the .NET property Host.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setPassword(java.lang.String Password)
Sets the value of the .NET property Password.
|
void |
setPath(java.lang.String Path)
Sets the value of the .NET property Path.
|
void |
setPort(int Port)
Sets the value of the .NET property Port.
|
void |
setQuery(java.lang.String Query)
Sets the value of the .NET property Query.
|
void |
setScheme(java.lang.String Scheme)
Sets the value of the .NET property Scheme.
|
void |
setUserName(java.lang.String UserName)
Sets the value of the .NET property UserName.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public UriBuilder()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic UriBuilder(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic UriBuilder(java.lang.String uri)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
UnreachableException,
UriFormatException
uri - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itpublic UriBuilder(java.lang.String schemeName,
java.lang.String hostName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
UnreachableException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
OutOfMemoryException
schemeName - the argument of type java.lang.StringhostName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic UriBuilder(java.lang.String scheme,
java.lang.String host,
int portNumber)
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
UnreachableException,
NotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
CultureNotFoundException,
InvalidOperationException,
OutOfMemoryException
scheme - the argument of type java.lang.Stringhost - the argument of type java.lang.StringportNumber - the argument of type intjava.lang.Throwable - if the .NET constructor failsIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic UriBuilder(java.lang.String scheme,
java.lang.String host,
int port,
java.lang.String pathValue)
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
UnreachableException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException,
NotSupportedException,
ArrayTypeMismatchException
scheme - the argument of type java.lang.Stringhost - the argument of type java.lang.Stringport - the argument of type intpathValue - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic UriBuilder(java.lang.String scheme,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String extraValue)
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
UnreachableException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
OutOfMemoryException
scheme - the argument of type java.lang.Stringhost - the argument of type java.lang.Stringport - the argument of type intpath - the argument of type java.lang.StringextraValue - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic UriBuilder(Uri uri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, UnreachableException, OutOfMemoryException, UriFormatException, NullReferenceException
uri - the argument of type Urijava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUriFormatException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic static UriBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into UriBuilder, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedUriBuilder instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getFragment()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getHost()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic java.lang.String getPassword()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getPath()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getPort()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getQuery()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getScheme()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Uri getUri() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, UnreachableException, UriFormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itpublic java.lang.String getUserName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFragment(java.lang.String Fragment)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
OutOfMemoryException
Fragment - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setHost(java.lang.String Host)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
OutOfMemoryException
Host - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setPassword(java.lang.String Password)
throws java.lang.Throwable
Password - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPath(java.lang.String Path)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
UnreachableException,
ArgumentOutOfRangeException
Path - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic void setPort(int Port)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
Port - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setQuery(java.lang.String Query)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
OutOfMemoryException
Query - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setScheme(java.lang.String Scheme)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentNullException,
UnreachableException,
PlatformNotSupportedException,
FormatException,
CultureNotFoundException
Scheme - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setUserName(java.lang.String UserName)
throws java.lang.Throwable
UserName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR