public class NSWorkspace extends NSObject
| Constructor and Description |
|---|
NSWorkspace() |
NSWorkspace(id id) |
NSWorkspace(int id) |
| Modifier and Type | Method and Description |
|---|---|
NSString |
fullPathForApplication(NSString appName) |
boolean |
getInfoForFile(NSString fullPath,
int appName,
int type) |
NSImage |
iconForFile(NSString fullPath) |
NSImage |
iconForFileType(NSString fileType) |
boolean |
isFilePackageAtPath(NSString fullPath) |
boolean |
openFile(NSString fullPath,
NSString appName) |
boolean |
openURL(NSURL url) |
boolean |
openURLs(NSArray urls,
NSString bundleIdentifier,
int options,
NSAppleEventDescriptor descriptor,
int identifiers) |
static NSWorkspace |
sharedWorkspace() |
boolean |
type(NSString firstTypeName,
NSString secondTypeName) |
NSString |
typeOfFile(NSString absoluteFilePath,
int outError) |
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, dealloc, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboardequals, hashCode, objc_getClass, toStringpublic NSWorkspace()
public NSWorkspace(int id)
public NSWorkspace(id id)
public boolean getInfoForFile(NSString fullPath, int appName, int type)
public boolean isFilePackageAtPath(NSString fullPath)
public boolean openURL(NSURL url)
public boolean openURLs(NSArray urls, NSString bundleIdentifier, int options, NSAppleEventDescriptor descriptor, int identifiers)
public static NSWorkspace sharedWorkspace()