4632N/A static final int kLSItemInfoIsPlainFile = 0x00000001; /* Not a directory, volume, or symlink*/
4632N/A static final int kLSItemInfoIsApplication = 0x00000004; /* Single-file or packaged application*/
4632N/A static final int kLSItemInfoIsContainer = 0x00000008; /* Directory (includes packages) or volume*/
4632N/A static final int kLSItemInfoAppPrefersNative = 0x00000200; /* Carbon app that prefers to be launched natively*/
4632N/A static final int kLSItemInfoAppPrefersClassic = 0x00000400; /* Carbon app that prefers to be launched in Classic*/
4632N/A static final int kLSItemInfoExtensionIsHidden = 0x00100000; /* Item has a hidden extension*/
4632N/A java.security.AccessController.doPrivileged((PrivilegedAction<?>)new sun.security.action.LoadLibraryAction("osxui"));
4632N/A private static native String getNativeDisplayName(final byte[] pathBytes, final boolean isDirectory);
4632N/A private static native int getNativeLSInfo(final byte[] pathBytes, final boolean isDirectory);
4632N/A private static native String getNativePathForResolvedAlias(final byte[] absolutePath, final boolean isDirectory);
4632N/A return getNativeMachineName();
4632N/A return getNativePathToSharedJDKBundle();
4632N/A } catch (final UnsupportedEncodingException e) {
4632N/A return nativeDisplayName;
4632N/A return localMachineName;
4632N/A return displayName;
4632N/A return _fileDescriptionText();
4632N/A if (f.isDirectory()) {
4632N/A if (f.isDirectory()) {
4632N/A } else if (!_applicationIsTraversable()) {
4632N/A } else if (!_packageIsTraversable()) {
4632N/A // <rdar://problem/3582601> If the alias doesn't resolve (on a non-existent volume, for example)
4632N/A return componentList;