Package system
Class UriBuilder
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.UriBuilder
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class UriBuilder extends NetObject
The base .NET class managing System.UriBuilder, System.Private.Uri, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.UriBuilder
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Private.Uri, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Private.Uristatic java.lang.String
className
Qualified class name: System.UriBuilderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description UriBuilder()
UriBuilder(java.lang.Object instance)
Internal constructor.UriBuilder(java.lang.String uri)
UriBuilder(java.lang.String schemeName, java.lang.String hostName)
UriBuilder(java.lang.String scheme, java.lang.String host, int portNumber)
UriBuilder(java.lang.String scheme, java.lang.String host, int port, java.lang.String pathValue)
UriBuilder(java.lang.String scheme, java.lang.String host, int port, java.lang.String path, java.lang.String extraValue)
UriBuilder(Uri uri)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UriBuilder
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoUriBuilder
, a cast assert is made to check if types are compatible.java.lang.String
getFragment()
java.lang.String
getHost()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String
getPassword()
java.lang.String
getPath()
int
getPort()
java.lang.String
getQuery()
java.lang.String
getScheme()
Uri
getUri()
java.lang.String
getUserName()
void
setFragment(java.lang.String Fragment)
void
setHost(java.lang.String Host)
void
setJCOInstance(JCObject instance)
void
setPassword(java.lang.String Password)
void
setPath(java.lang.String Path)
void
setPort(int Port)
void
setQuery(java.lang.String Query)
void
setScheme(java.lang.String Scheme)
void
setUserName(java.lang.String UserName)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.Uri, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.Uri- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.UriBuilder- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UriBuilder
public UriBuilder(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
UriBuilder
public UriBuilder() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
UriBuilder
public 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
-
UriBuilder
public 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
-
UriBuilder
public 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
-
UriBuilder
public UriBuilder(java.lang.String schemeName, java.lang.String hostName) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, UnreachableException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException
-
UriBuilder
public UriBuilder(java.lang.String uri) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, UnreachableException, UriFormatException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
UnreachableException
UriFormatException
-
UriBuilder
public UriBuilder(Uri uri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, UnreachableException, OutOfMemoryException, UriFormatException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
UnreachableException
OutOfMemoryException
UriFormatException
NullReferenceException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static UriBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoUriBuilder
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
UriBuilder
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getPort
public int getPort() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPort
public void setPort(int Port) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
getFragment
public java.lang.String getFragment() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setFragment
public void setFragment(java.lang.String Fragment) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException
-
getHost
public java.lang.String getHost() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setHost
public void setHost(java.lang.String Host) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException
-
getPassword
public java.lang.String getPassword() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPassword
public void setPassword(java.lang.String Password) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPath
public java.lang.String getPath() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPath
public void setPath(java.lang.String Path) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, UnreachableException, ArgumentOutOfRangeException
-
getQuery
public java.lang.String getQuery() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setQuery
public void setQuery(java.lang.String Query) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException
-
getScheme
public java.lang.String getScheme() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setScheme
public void setScheme(java.lang.String Scheme) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, UnreachableException, PlatformNotSupportedException, FormatException, CultureNotFoundException
-
getUserName
public java.lang.String getUserName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUserName
public void setUserName(java.lang.String UserName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUri
public Uri getUri() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, UnreachableException, UriFormatException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
UnreachableException
UriFormatException
-
-