org.littleshoot.util
Class ITunesUtils

java.lang.Object
  extended by org.littleshoot.util.ITunesUtils

public class ITunesUtils
extends Object

Utilities for iTunes.


Method Summary
static boolean addAudioFile(File file)
          Adds the specified audio file to iTunes if we're on OSX.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addAudioFile

public static boolean addAudioFile(File file)
                            throws IOException
Adds the specified audio file to iTunes if we're on OSX.

Parameters:
file - The file to add.
Returns:
true if the audio file was added to iTunes, otherwise false.
Throws:
IOException - If there's an error getting the canonical file name.


Copyright © 2011-2013 LittleShoot. All Rights Reserved.