com.mucommander.file.util
Class OSXFileUtils

java.lang.Object
  extended by com.mucommander.file.util.OSXFileUtils

public class OSXFileUtils
extends java.lang.Object

This class contains methods for file operations that are specific to Mac OS X.

Author:
Maxence Bernard

Constructor Summary
OSXFileUtils()
           
 
Method Summary
static java.lang.String getSpotlightComment(AbstractFile file)
          Returns the Spotlight/Finder comment of the given file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSXFileUtils

public OSXFileUtils()
Method Detail

getSpotlightComment

public static java.lang.String getSpotlightComment(AbstractFile file)
Returns the Spotlight/Finder comment of the given file. The specified file must be a LocalFile, or have a LocalFile as an ancestor.

null is returned in any of the following cases:

Parameters:
file - a local file
Returns:
the Spotlight/Finder comment of the specified file


This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard