Class NSWorkspace


public class NSWorkspace extends NSObject
  • Constructor Details

    • NSWorkspace

      public NSWorkspace()
    • NSWorkspace

      public NSWorkspace(long id)
    • NSWorkspace

      public NSWorkspace(id id)
  • Method Details

    • fullPathForApplication

      public NSString fullPathForApplication(NSString appName)
    • getInfoForFile

      public boolean getInfoForFile(NSString fullPath, long appName, long type)
    • iconForFile

      public NSImage iconForFile(NSString fullPath)
    • iconForFileType

      public NSImage iconForFileType(NSString fileType)
    • isFilePackageAtPath

      public boolean isFilePackageAtPath(NSString fullPath)
    • openFile

      public boolean openFile(NSString fullPath, NSString appName)
    • openURL

      public boolean openURL(NSURL url)
    • openURLs

      public boolean openURLs(NSArray urls, NSString bundleIdentifier, long options, NSAppleEventDescriptor descriptor, long identifiers)
    • sharedWorkspace

      public static NSWorkspace sharedWorkspace()
    • type

      public boolean type(NSString firstTypeName, NSString secondTypeName)
    • typeOfFile

      public NSString typeOfFile(NSString absoluteFilePath, long outError)