Package system.io.packaging
Class PackUriHelper
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.io.packaging.PackUriHelper
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class PackUriHelper extends NetObject
The base .NET class managing System.IO.Packaging.PackUriHelper, System.IO.Packaging, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.Packaging.PackUriHelper
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.StringassemblyFullNameFully assembly qualified name: System.IO.Packaging, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.IO.Packagingstatic java.lang.StringclassNameQualified class name: System.IO.Packaging.PackUriHelperstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PackUriHelper()PackUriHelper(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PackUriHelpercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoPackUriHelper, a cast assert is made to check if types are compatible.static intComparePackUri(Uri firstPackUri, Uri secondPackUri)static intComparePartUri(Uri firstPartUri, Uri secondPartUri)static UriCreate(Uri packageUri)static UriCreate(Uri packageUri, Uri partUri)static UriCreate(Uri packageUri, Uri partUri, java.lang.String fragment)static UriCreatePartUri(Uri partUri)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typestatic UriGetNormalizedPartUri(Uri partUri)static UriGetPackageUri(Uri packUri)static UriGetPartUri(Uri packUri)static UriGetRelationshipPartUri(Uri partUri)static UriGetRelativeUri(Uri sourcePartUri, Uri targetPartUri)static UriGetSourcePartUriFromRelationshipPartUri(Uri relationshipPartUri)static booleanIsRelationshipPartUri(Uri partUri)static UriResolvePartUri(Uri sourcePartUri, Uri targetUri)voidsetJCOInstance(JCObject instance)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.IO.Packaging, 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.IO.Packaging- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.IO.Packaging.PackUriHelper- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static PackUriHelper cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoPackUriHelper, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
PackUriHelperinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
IsRelationshipPartUri
public static boolean IsRelationshipPartUri(Uri partUri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, UriFormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionUriFormatException
-
ComparePackUri
public static int ComparePackUri(Uri firstPackUri, Uri secondPackUri) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, UriFormatException, UnreachableException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionUriFormatExceptionUnreachableException
-
ComparePartUri
public static int ComparePartUri(Uri firstPartUri, Uri secondPartUri) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, UriFormatException, UnreachableException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionUriFormatExceptionUnreachableException
-
Create
public static Uri Create(Uri packageUri, Uri partUri, java.lang.String fragment) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, ArgumentOutOfRangeException, UriFormatException, ObjectDisposedException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionUriFormatExceptionObjectDisposedExceptionArrayTypeMismatchException
-
Create
public static Uri Create(Uri packageUri, Uri partUri) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, UriFormatException, ObjectDisposedException, OutOfMemoryException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionArgumentNullExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionUriFormatExceptionObjectDisposedExceptionOutOfMemoryExceptionArrayTypeMismatchException
-
Create
public static Uri Create(Uri packageUri) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, UriFormatException, ObjectDisposedException, OutOfMemoryException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionArgumentNullExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionUriFormatExceptionObjectDisposedExceptionOutOfMemoryExceptionArrayTypeMismatchException
-
CreatePartUri
public static Uri CreatePartUri(Uri partUri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, UnreachableException, IndexOutOfRangeException, OutOfMemoryException, UriFormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionUnreachableExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionUriFormatException
-
GetNormalizedPartUri
public static Uri GetNormalizedPartUri(Uri partUri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, UriFormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionUriFormatException
-
GetPackageUri
public static Uri GetPackageUri(Uri packUri) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, UriFormatException, ObjectDisposedException, OutOfMemoryException
-
GetPartUri
public static Uri GetPartUri(Uri packUri) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, UriFormatException, ObjectDisposedException, OutOfMemoryException
-
GetRelationshipPartUri
public static Uri GetRelationshipPartUri(Uri partUri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, UnreachableException, UriFormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionUnreachableExceptionUriFormatException
-
GetRelativeUri
public static Uri GetRelativeUri(Uri sourcePartUri, Uri targetPartUri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, UriFormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionUriFormatException
-
GetSourcePartUriFromRelationshipPartUri
public static Uri GetSourcePartUriFromRelationshipPartUri(Uri relationshipPartUri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, UriFormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionUriFormatException
-
ResolvePartUri
public static Uri ResolvePartUri(Uri sourcePartUri, Uri targetUri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, UriFormatException, UnreachableException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionUriFormatExceptionUnreachableException
-
-