net.sourceforge.atunes.kernel.modules.audioscrobbler.submitter
Class Submitter

java.lang.Object
  extended by net.sourceforge.atunes.kernel.modules.audioscrobbler.submitter.Submitter

public class Submitter
extends java.lang.Object

The Class Submitter.


Constructor Summary
Submitter()
           
 
Method Summary
static void setPassword(java.lang.String password)
          Sets the password.
static void setProxy(Proxy proxy)
          Sets the proxy.
static void setUser(java.lang.String user)
          Sets the user.
static void submitTrack(AudioFile file, long secondsPlayed)
          Submit track.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Submitter

public Submitter()
Method Detail

setPassword

public static void setPassword(java.lang.String password)
Sets the password.

Parameters:
password - the password to set

setProxy

public static void setProxy(Proxy proxy)
Sets the proxy.

Parameters:
proxy - the proxy to set

setUser

public static void setUser(java.lang.String user)
Sets the user.

Parameters:
user - the user to set

submitTrack

public static void submitTrack(AudioFile file,
                               long secondsPlayed)
                        throws SubmitterException
Submit track.

Parameters:
file - the file
secondsPlayed - the seconds played
Throws:
SubmitterException - the submitter exception


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.