public class Package extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.IO.Packaging.Package
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.Package
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Package() |
Package(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Package |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Package, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close()
Invokes the .NET member Close.
|
PackagePart |
CreatePart(Uri partUri,
java.lang.String contentType)
Invokes the .NET member CreatePart.
|
PackagePart |
CreatePart(Uri partUri,
java.lang.String contentType,
CompressionOption compressionOption)
Invokes the .NET member CreatePart.
|
PackageRelationship |
CreateRelationship(Uri targetUri,
TargetMode targetMode,
java.lang.String relationshipType)
Invokes the .NET member CreateRelationship.
|
PackageRelationship |
CreateRelationship(Uri targetUri,
TargetMode targetMode,
java.lang.String relationshipType,
java.lang.String id)
Invokes the .NET member CreateRelationship.
|
void |
DeletePart(Uri partUri)
Invokes the .NET member DeletePart.
|
void |
DeleteRelationship(java.lang.String id)
Invokes the .NET member DeleteRelationship.
|
void |
Flush()
Invokes the .NET member Flush.
|
FileAccess |
getFileOpenAccess()
Gets the value of the .NET property FileOpenAccess.
|
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. |
PackageProperties |
getPackageProperties()
Gets the value of the .NET property PackageProperties.
|
PackagePart |
GetPart(Uri partUri)
Invokes the .NET member GetPart.
|
PackagePartCollection |
GetParts()
Invokes the .NET member GetParts.
|
PackageRelationship |
GetRelationship(java.lang.String id)
Invokes the .NET member GetRelationship.
|
PackageRelationshipCollection |
GetRelationships()
Invokes the .NET member GetRelationships.
|
PackageRelationshipCollection |
GetRelationshipsByType(java.lang.String relationshipType)
Invokes the .NET member GetRelationshipsByType.
|
static Package |
Open(Stream stream)
Invokes the .NET member Open.
|
static Package |
Open(Stream stream,
FileMode packageMode)
Invokes the .NET member Open.
|
static Package |
Open(Stream stream,
FileMode packageMode,
FileAccess packageAccess)
Invokes the .NET member Open.
|
static Package |
Open(java.lang.String path)
Invokes the .NET member Open.
|
static Package |
Open(java.lang.String path,
FileMode packageMode)
Invokes the .NET member Open.
|
static Package |
Open(java.lang.String path,
FileMode packageMode,
FileAccess packageAccess)
Invokes the .NET member Open.
|
static Package |
Open(java.lang.String path,
FileMode packageMode,
FileAccess packageAccess,
FileShare packageShare)
Invokes the .NET member Open.
|
boolean |
PartExists(Uri partUri)
Invokes the .NET member PartExists.
|
boolean |
RelationshipExists(java.lang.String id)
Invokes the .NET member RelationshipExists.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Package()
throws java.lang.Throwable
java.lang.Throwablepublic Package(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 static Package cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Package, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPackage instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Close()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic PackagePart CreatePart(Uri partUri, java.lang.String contentType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IOException, NotSupportedException, NullReferenceException, OutOfMemoryException, ExternalException, InvalidOperationException, UriFormatException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
partUri - the argument of type UricontentType - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itInvalidOperationException - if the .NET member raises itUriFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic PackagePart CreatePart(Uri partUri, java.lang.String contentType, CompressionOption compressionOption) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IOException, OutOfMemoryException, ExternalException, UriFormatException, UnreachableException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
partUri - the argument of type UricontentType - the argument of type java.lang.StringcompressionOption - the argument of type CompressionOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itUriFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, java.lang.String relationshipType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IOException, InvalidOperationException, OutOfMemoryException, FileFormatException, XmlException, NotSupportedException
targetUri - the argument of type UritargetMode - the argument of type TargetModerelationshipType - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, java.lang.String relationshipType, java.lang.String id) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IOException, FileFormatException, XmlException, OverflowException, InvalidCastException
targetUri - the argument of type UritargetMode - the argument of type TargetModerelationshipType - the argument of type java.lang.Stringid - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void DeletePart(Uri partUri) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IOException, OutOfMemoryException, ExternalException, UriFormatException, UnreachableException, KeyNotFoundException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
partUri - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itUriFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void DeleteRelationship(java.lang.String id)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
IOException,
IndexOutOfRangeException,
FormatException,
XmlException,
FileFormatException,
OverflowException,
InvalidCastException
id - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itFileFormatException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void Flush()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
IOException,
FileFormatException,
OutOfMemoryException,
FormatException,
XmlException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
SecurityException,
OverflowException,
KeyNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itFileFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSecurityException - if the .NET member raises itOverflowException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic FileAccess getFileOpenAccess() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic 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 PackageProperties getPackageProperties() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IOException, IndexOutOfRangeException, FileFormatException, UriFormatException, OutOfMemoryException, XmlException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFileFormatException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic PackagePart GetPart(Uri partUri) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IOException, NotSupportedException, NullReferenceException, OutOfMemoryException, ExternalException, InvalidOperationException, UriFormatException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
partUri - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itInvalidOperationException - if the .NET member raises itUriFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic PackagePartCollection GetParts() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IOException, IndexOutOfRangeException, FileFormatException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, KeyNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFileFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic PackageRelationship GetRelationship(java.lang.String id) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IOException, IndexOutOfRangeException, InvalidOperationException, XmlException, OutOfMemoryException, FileFormatException, NotSupportedException
id - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itXmlException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFileFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic PackageRelationshipCollection GetRelationships() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IOException, InvalidOperationException, OutOfMemoryException, FileFormatException, XmlException, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic PackageRelationshipCollection GetRelationshipsByType(java.lang.String relationshipType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IOException, IndexOutOfRangeException, OutOfMemoryException, FileFormatException, XmlException
relationshipType - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itpublic static Package Open(Stream stream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FileFormatException, IOException, InvalidDataException, KeyNotFoundException, FormatException, XmlException
stream - the argument of type Streamjava.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 itFileFormatException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itpublic static Package Open(Stream stream, FileMode packageMode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FileFormatException, IOException, InvalidDataException, KeyNotFoundException, FormatException, XmlException
stream - the argument of type StreampackageMode - the argument of type FileModejava.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 itFileFormatException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itpublic static Package Open(Stream stream, FileMode packageMode, FileAccess packageAccess) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FileFormatException, IOException, InvalidDataException, OutOfMemoryException, KeyNotFoundException, FormatException, XmlException
stream - the argument of type StreampackageMode - the argument of type FileModepackageAccess - the argument of type FileAccessjava.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 itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFileFormatException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itpublic static Package Open(java.lang.String path) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, SerializationException, IOException, InvalidDataException, KeyNotFoundException, FormatException, XmlException, FileFormatException
path - the argument of type java.lang.Stringjava.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 itSerializationException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itFileFormatException - if the .NET member raises itpublic static Package Open(java.lang.String path, FileMode packageMode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, SerializationException, IOException, InvalidDataException, KeyNotFoundException, FormatException, XmlException, FileFormatException
path - the argument of type java.lang.StringpackageMode - the argument of type FileModejava.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 itSerializationException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itFileFormatException - if the .NET member raises itpublic static Package Open(java.lang.String path, FileMode packageMode, FileAccess packageAccess) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, SerializationException, IOException, InvalidDataException, KeyNotFoundException, FormatException, XmlException, FileFormatException
path - the argument of type java.lang.StringpackageMode - the argument of type FileModepackageAccess - the argument of type FileAccessjava.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 itSerializationException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itFileFormatException - if the .NET member raises itpublic static Package Open(java.lang.String path, FileMode packageMode, FileAccess packageAccess, FileShare packageShare) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, SerializationException, IOException, InvalidDataException, KeyNotFoundException, FormatException, XmlException, FileFormatException
path - the argument of type java.lang.StringpackageMode - the argument of type FileModepackageAccess - the argument of type FileAccesspackageShare - the argument of type FileSharejava.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 itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itFileFormatException - if the .NET member raises itpublic boolean PartExists(Uri partUri) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, ExternalException, UriFormatException, UnreachableException
partUri - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itUriFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic boolean RelationshipExists(java.lang.String id)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IOException,
IndexOutOfRangeException,
InvalidOperationException,
XmlException,
OutOfMemoryException,
FileFormatException,
NotSupportedException
id - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itXmlException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFileFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object