public class PackagePart extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.Packaging.PackagePart
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.IO.Packaging, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.IO.Packaging
|
static java.lang.String |
className
Qualified class name: System.IO.Packaging.PackagePart
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PackagePart() |
PackagePart(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PackagePart |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PackagePart, a cast assert is made to check if types are compatible. |
PackageRelationship |
CreateRelationship(Uri targetUri,
TargetMode targetMode,
java.lang.String relationshipType) |
PackageRelationship |
CreateRelationship(Uri targetUri,
TargetMode targetMode,
java.lang.String relationshipType,
java.lang.String id) |
void |
DeleteRelationship(java.lang.String id) |
CompressionOption |
getCompressionOption() |
java.lang.String |
getContentType() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
Package |
getPackage() |
PackageRelationship |
GetRelationship(java.lang.String id) |
PackageRelationshipCollection |
GetRelationships() |
PackageRelationshipCollection |
GetRelationshipsByType(java.lang.String relationshipType) |
Stream |
GetStream() |
Stream |
GetStream(FileMode mode) |
Stream |
GetStream(FileMode mode,
FileAccess access) |
Uri |
getUri() |
boolean |
RelationshipExists(java.lang.String id) |
void |
setJCOInstance(JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PackagePart()
throws java.lang.Throwable
java.lang.Throwablepublic PackagePart(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static PackagePart cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PackagePart, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPackagePart instancejava.lang.Throwable - in case of error during cast operationpublic PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, java.lang.String relationshipType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IOException, ArgumentOutOfRangeException, OutOfMemoryException, FileFormatException, XmlException, NotSupportedException
public PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, java.lang.String relationshipType, java.lang.String id) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IOException, NotSupportedException, ObjectDisposedException, FileFormatException, XmlException, OverflowException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIOExceptionNotSupportedExceptionObjectDisposedExceptionFileFormatExceptionXmlExceptionOverflowExceptionInvalidCastExceptionpublic void DeleteRelationship(java.lang.String id)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
IOException,
IndexOutOfRangeException,
FormatException,
XmlException,
NotSupportedException,
ObjectDisposedException,
FileFormatException,
OverflowException,
InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIOExceptionIndexOutOfRangeExceptionFormatExceptionXmlExceptionNotSupportedExceptionObjectDisposedExceptionFileFormatExceptionOverflowExceptionInvalidCastExceptionpublic CompressionOption getCompressionOption() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public java.lang.String getContentType()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
NotSupportedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic Package getPackage() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public PackageRelationship GetRelationship(java.lang.String id) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IOException, IndexOutOfRangeException, XmlException, ArgumentOutOfRangeException, OutOfMemoryException, FileFormatException, NotSupportedException
public PackageRelationshipCollection GetRelationships() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IOException, ArgumentOutOfRangeException, OutOfMemoryException, FileFormatException, XmlException, NotSupportedException
public PackageRelationshipCollection GetRelationshipsByType(java.lang.String relationshipType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IOException, IndexOutOfRangeException, OutOfMemoryException, ObjectDisposedException, FileFormatException, XmlException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIOExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionObjectDisposedExceptionFileFormatExceptionXmlExceptionNotSupportedExceptionpublic Stream GetStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IOException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
public Stream GetStream(FileMode mode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IOException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
public Stream GetStream(FileMode mode, FileAccess access) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IOException, ObjectDisposedException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
public Uri getUri() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public boolean RelationshipExists(java.lang.String id)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IOException,
IndexOutOfRangeException,
XmlException,
ArgumentOutOfRangeException,
OutOfMemoryException,
FileFormatException,
NotSupportedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject