Package microsoft.visualbasic.fileio
Class SpecialDirectories
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.visualbasic.fileio.SpecialDirectories
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class SpecialDirectories extends NetObject
The base .NET class managing Microsoft.VisualBasic.FileIO.SpecialDirectories, Microsoft.VisualBasic.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.VisualBasic.FileIO.SpecialDirectories
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: Microsoft.VisualBasic.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.VisualBasic.Corestatic java.lang.StringclassNameQualified class name: Microsoft.VisualBasic.FileIO.SpecialDirectoriesstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SpecialDirectories()SpecialDirectories(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpecialDirectoriescast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoSpecialDirectories, a cast assert is made to check if types are compatible.static java.lang.StringgetAllUsersApplicationData()static java.lang.StringgetCurrentUserApplicationData()static java.lang.StringgetDesktop()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 Typestatic java.lang.StringgetMyDocuments()static java.lang.StringgetMyMusic()static java.lang.StringgetMyPictures()static java.lang.StringgetProgramFiles()static java.lang.StringgetPrograms()static java.lang.StringgetTemp()voidsetJCOInstance(org.mases.jcobridge.JCObject instance)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.VisualBasic.Core- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.VisualBasic.FileIO.SpecialDirectories- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SpecialDirectories cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSpecialDirectories, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SpecialDirectoriesinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getAllUsersApplicationData
public static java.lang.String getAllUsersApplicationData() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, TypeLoadException, FileLoadException, ArgumentNullException, FileNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, DirectoryNotFoundException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionTypeLoadExceptionFileLoadExceptionArgumentNullExceptionFileNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionDirectoryNotFoundException
-
getCurrentUserApplicationData
public static java.lang.String getCurrentUserApplicationData() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, TypeLoadException, FileLoadException, ArgumentNullException, FileNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, DirectoryNotFoundException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionTypeLoadExceptionFileLoadExceptionArgumentNullExceptionFileNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionDirectoryNotFoundException
-
getDesktop
public static java.lang.String getDesktop() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, NullReferenceException, ExternalException, ArgumentNullException, InvalidOperationException, DirectoryNotFoundException
-
getMyDocuments
public static java.lang.String getMyDocuments() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, NullReferenceException, ExternalException, ArgumentNullException, InvalidOperationException, DirectoryNotFoundException
-
getMyMusic
public static java.lang.String getMyMusic() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, NullReferenceException, ExternalException, ArgumentNullException, InvalidOperationException, DirectoryNotFoundException
-
getMyPictures
public static java.lang.String getMyPictures() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, NullReferenceException, ExternalException, ArgumentNullException, InvalidOperationException, DirectoryNotFoundException
-
getProgramFiles
public static java.lang.String getProgramFiles() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, NullReferenceException, ExternalException, ArgumentNullException, InvalidOperationException, DirectoryNotFoundException
-
getPrograms
public static java.lang.String getPrograms() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, NullReferenceException, ExternalException, ArgumentNullException, InvalidOperationException, DirectoryNotFoundException
-
getTemp
public static java.lang.String getTemp() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, FormatException, DirectoryNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionFormatExceptionDirectoryNotFoundException
-
-