public class TempFileCollection extends NetObjectEnumerable implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/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.CodeDom, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.CodeDom
|
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()
Initializes a new instance by invoking the .NET constructor.
|
TempFileCollection(java.lang.Object instance)
Internal constructor.
|
TempFileCollection(java.lang.String tempDir)
Initializes a new instance by invoking the .NET constructor.
|
TempFileCollection(java.lang.String tempDir,
boolean keepFiles)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
AddExtension(java.lang.String fileExtension)
Invokes the .NET member AddExtension.
|
java.lang.String |
AddExtension(java.lang.String fileExtension,
boolean keepFile)
Invokes the .NET member AddExtension.
|
void |
AddFile(java.lang.String fileName,
boolean keepFile)
Invokes the .NET member AddFile.
|
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)
Invokes the .NET member CopyTo.
|
void |
CopyTo(java.lang.String[] fileNames,
int start)
Invokes the .NET member CopyTo.
|
void |
Delete()
Invokes the .NET member Delete.
|
java.lang.String |
getBasePath()
Gets the value of the .NET property BasePath.
|
int |
getCount()
Gets the value of the .NET property Count.
|
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. |
boolean |
getKeepFiles()
Gets the value of the .NET property KeepFiles.
|
java.lang.String |
getTempDir()
Gets the value of the .NET property TempDir.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setKeepFiles(boolean KeepFiles)
Sets the value of the .NET property KeepFiles.
|
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic 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,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic TempFileCollection(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 TempFileCollection(java.lang.String tempDir)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
tempDir - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic TempFileCollection(java.lang.String tempDir,
boolean keepFiles)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
tempDir - the argument of type java.lang.StringkeepFiles - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic java.lang.String AddExtension(java.lang.String fileExtension)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
IOException
fileExtension - 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 itOutOfMemoryException - if the .NET member raises itIOException - if the .NET member raises itpublic java.lang.String AddExtension(java.lang.String fileExtension,
boolean keepFile)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
OutOfMemoryException,
IOException,
SerializationException
fileExtension - the argument of type java.lang.StringkeepFile - the argument of type booleanjava.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 itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIOException - if the .NET member raises itSerializationException - if the .NET member raises itpublic void AddFile(java.lang.String fileName,
boolean keepFile)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
fileName - the argument of type java.lang.StringkeepFile - the argument of type booleanjava.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 itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic 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
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void CopyTo(java.lang.String[] fileNames,
int start)
throws java.lang.Throwable
fileNames - the argument of type java.lang.String[]start - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Delete()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentException,
NotSupportedException,
InvalidOperationException,
CultureNotFoundException,
OutOfMemoryException,
IOException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIOException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic java.lang.String getBasePath()
throws java.lang.Throwable,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException,
IOException,
SerializationException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIOException - if the .NET member raises itSerializationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic int getCount()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerablepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerablepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerablenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerablepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerablepublic boolean getKeepFiles()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getTempDir()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectEnumerableinstance - the new underlying objectpublic void setKeepFiles(boolean KeepFiles)
throws java.lang.Throwable
KeepFiles - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR