Interface IPersistFile
-
- All Superinterfaces:
IJCOBridgeReflected
- All Known Implementing Classes:
IPersistFileImplementation
public interface IPersistFile extends IJCOBridgeReflected
The base .NET class managing System.Runtime.InteropServices.ComTypes.IPersistFile, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.InteropServices.ComTypes.IPersistFile
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.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.StringassemblyShortNameAssembly name: System.Private.CoreLibstatic java.lang.StringclassNameQualified class name: System.Runtime.InteropServices.ComTypes.IPersistFile
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidGetClassID(JCORefOut<Guid> pClassID)voidGetCurFile(JCORefOut ppszFileName)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 objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class TypeintIsDirty()voidLoad(java.lang.String pszFileName, int dwMode)voidSave(java.lang.String pszFileName, boolean fRemember)voidSaveCompleted(java.lang.String pszFileName)static IPersistFileToIPersistFile(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoIPersistFile, a cast assert is made to check if types are compatible.
-
-
-
Field Detail
-
assemblyFullName
static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
static final java.lang.String className
Qualified class name: System.Runtime.InteropServices.ComTypes.IPersistFile- See Also:
- Constant Field Values
-
-
Method Detail
-
ToIPersistFile
static IPersistFile ToIPersistFile(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIPersistFile, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IPersistFileinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getJCOAssemblyName
java.lang.String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
java.lang.String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
java.lang.Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Returns:
- An
Objectrepresenting the instance of the instantiated Class
-
getJCOType
org.mases.jcobridge.JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Returns:
- A
JCTyperepresenting the Type of the instantiated Class
-
IsDirty
int IsDirty() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetClassID
void GetClassID(JCORefOut<Guid> pClassID) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetCurFile
void GetCurFile(JCORefOut ppszFileName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Load
void Load(java.lang.String pszFileName, int dwMode) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Save
void Save(java.lang.String pszFileName, boolean fRemember) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SaveCompleted
void SaveCompleted(java.lang.String pszFileName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-