public class FileSystemInfo extends MarshalByRefObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.FileSystemInfo
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.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.IO.FileSystemInfo
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FileSystemInfo() |
FileSystemInfo(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static FileSystemInfo |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FileSystemInfo, a cast assert is made to check if types are compatible. |
void |
CreateAsSymbolicLink(java.lang.String pathToTarget) |
void |
Delete() |
FileAttributes |
getAttributes() |
DateTime |
getCreationTime() |
DateTime |
getCreationTimeUtc() |
boolean |
getExists() |
java.lang.String |
getExtension() |
java.lang.String |
getFullName() |
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
|
DateTime |
getLastAccessTime() |
DateTime |
getLastAccessTimeUtc() |
DateTime |
getLastWriteTime() |
DateTime |
getLastWriteTimeUtc() |
java.lang.String |
getLinkTarget() |
java.lang.String |
getName() |
void |
GetObjectData(SerializationInfo info,
StreamingContext context) |
UnixFileMode |
getUnixFileMode() |
void |
Refresh() |
FileSystemInfo |
ResolveLinkTarget(boolean returnFinalTarget) |
void |
setAttributes(FileAttributes Attributes) |
void |
setCreationTime(DateTime CreationTime) |
void |
setCreationTimeUtc(DateTime CreationTimeUtc) |
void |
setJCOInstance(JCObject instance) |
void |
setLastAccessTime(DateTime LastAccessTime) |
void |
setLastAccessTimeUtc(DateTime LastAccessTimeUtc) |
void |
setLastWriteTime(DateTime LastWriteTime) |
void |
setLastWriteTimeUtc(DateTime LastWriteTimeUtc) |
void |
setUnixFileMode(UnixFileMode UnixFileMode) |
GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FileSystemInfo()
throws java.lang.Throwable
java.lang.Throwablepublic FileSystemInfo(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static FileSystemInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FileSystemInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFileSystemInfo instancejava.lang.Throwable - in case of error during cast operationpublic void CreateAsSymbolicLink(java.lang.String pathToTarget)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
IndexOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException
public void Delete()
throws java.lang.Throwable
java.lang.Throwablepublic FileAttributes getAttributes() throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, ArgumentException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, ArrayTypeMismatchException, InvalidOperationException, FormatException
java.lang.ThrowableIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionArrayTypeMismatchExceptionInvalidOperationExceptionFormatExceptionpublic DateTime getCreationTime() throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException
public DateTime getCreationTimeUtc() throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, OutOfMemoryException, MissingMethodException, TargetInvocationException, FormatException, InvalidOperationException, NotSupportedException
public boolean getExists()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getExtension()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException
public java.lang.String getFullName()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class MarshalByRefObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MarshalByRefObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MarshalByRefObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MarshalByRefObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class MarshalByRefObjectJCType representing the CLR Type of the instantiated Classpublic DateTime getLastAccessTime() throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException
public DateTime getLastAccessTimeUtc() throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, OutOfMemoryException, MissingMethodException, TargetInvocationException, FormatException, InvalidOperationException, NotSupportedException
public DateTime getLastWriteTime() throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException
public DateTime getLastWriteTimeUtc() throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, OutOfMemoryException, MissingMethodException, TargetInvocationException, FormatException, InvalidOperationException, NotSupportedException
public java.lang.String getLinkTarget()
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
CultureNotFoundException,
ArgumentOutOfRangeException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException,
FormatException,
InvalidOperationException
public java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwablepublic void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
public UnixFileMode getUnixFileMode() throws java.lang.Throwable
java.lang.Throwablepublic void Refresh()
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentNullException,
ArgumentException,
CultureNotFoundException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException
public FileSystemInfo ResolveLinkTarget(boolean returnFinalTarget) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, FormatException, InvalidOperationException, NotSupportedException
java.lang.ThrowableIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionInvalidOperationExceptionNotSupportedExceptionpublic void setAttributes(FileAttributes Attributes) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, FormatException, OutOfMemoryException
public void setCreationTime(DateTime CreationTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, InvalidOperationException, IOException, NullReferenceException, NotSupportedException, OutOfMemoryException
public void setCreationTimeUtc(DateTime CreationTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, InvalidOperationException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OverflowException, MissingMethodException, TargetInvocationException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class MarshalByRefObjectpublic void setLastAccessTime(DateTime LastAccessTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, InvalidOperationException, IOException, NullReferenceException, NotSupportedException, OutOfMemoryException
public void setLastAccessTimeUtc(DateTime LastAccessTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, InvalidOperationException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OverflowException, MissingMethodException, TargetInvocationException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionpublic void setLastWriteTime(DateTime LastWriteTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, InvalidOperationException, IOException, NullReferenceException, NotSupportedException, OutOfMemoryException
public void setLastWriteTimeUtc(DateTime LastWriteTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, InvalidOperationException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OverflowException, MissingMethodException, TargetInvocationException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionpublic void setUnixFileMode(UnixFileMode UnixFileMode) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException