public class TempFileCollection extends NetObjectEnumerable implements IDisposable, java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.Compiler.TempFileCollection
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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
static java.lang.String |
className
Qualified class name: System.CodeDom.Compiler.TempFileCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
TempFileCollection() |
TempFileCollection(java.lang.Object instance)
Internal constructor.
|
TempFileCollection(java.lang.String tempDir) |
TempFileCollection(java.lang.String tempDir,
boolean keepFiles) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
AddExtension(java.lang.String fileExtension) |
java.lang.String |
AddExtension(java.lang.String fileExtension,
boolean keepFile) |
void |
AddFile(java.lang.String fileName,
boolean keepFile) |
static TempFileCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TempFileCollection, a cast assert is made to check if types are compatible. |
void |
close() |
void |
CopyTo(JCORefOut dupParam0,
int dupParam1) |
void |
CopyTo(java.lang.String[] fileNames,
int start) |
void |
Delete() |
java.lang.String |
getBasePath() |
int |
getCount() |
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
|
boolean |
getKeepFiles() |
java.lang.String |
getTempDir() |
void |
setJCOInstance(JCObject instance) |
void |
setKeepFiles(boolean KeepFiles) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringDispose, ToIDisposableToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TempFileCollection()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
FormatException,
ArgumentException,
SecurityException,
InvalidOperationException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionSecurityExceptionInvalidOperationExceptionpublic TempFileCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic TempFileCollection(java.lang.String tempDir)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
FormatException,
ArgumentException,
SecurityException,
InvalidOperationException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionSecurityExceptionInvalidOperationExceptionpublic TempFileCollection(java.lang.String tempDir,
boolean keepFiles)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
FormatException,
SecurityException,
NullReferenceException,
InvalidOperationException
public java.lang.String AddExtension(java.lang.String fileExtension)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
SecurityException,
AccessViolationException,
Win32Exception,
NotSupportedException,
NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionAccessViolationExceptionWin32ExceptionNotSupportedExceptionNullReferenceExceptionpublic java.lang.String AddExtension(java.lang.String fileExtension,
boolean keepFile)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
OutOfMemoryException,
SecurityException,
AccessViolationException,
Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionOutOfMemoryExceptionSecurityExceptionAccessViolationExceptionWin32Exceptionpublic void AddFile(java.lang.String fileName,
boolean keepFile)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic static TempFileCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TempFileCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTempFileCollection 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 CopyTo(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable
java.lang.Throwablepublic void CopyTo(java.lang.String[] fileNames,
int start)
throws java.lang.Throwable
java.lang.Throwablepublic void Delete()
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
ArgumentOutOfRangeException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionNotSupportedExceptionpublic java.lang.String getBasePath()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ArgumentNullException,
IndexOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
NotSupportedException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
SecurityException,
AccessViolationException,
Win32Exception,
NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentNullExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionAccessViolationExceptionWin32ExceptionNullReferenceExceptionpublic int getCount()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDisposablegetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDisposablegetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDisposablegetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDisposablegetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDisposablegetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic boolean getKeepFiles()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getTempDir()
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectEnumerablepublic void setKeepFiles(boolean KeepFiles)
throws java.lang.Throwable
java.lang.Throwable