Tom Lint 9335b2e748 Added preliminary Uri class
Added method stubs for Media classes
2014-02-03 21:13:29 +01:00

108 lines
1.4 KiB
Java

package Microsoft.Xna.Framework.Media;
import System.*;
/**
* Provides access to a song in the song library.
*
* @author Halofreak1990
*/
public final class Song implements IEquatable<Song>, IDisposable
{
private Album album;
private Artist artist;
private boolean isDisposed;
private Song()
{
}
Song(String name, String fileName, int duration)
{
}
private void Dispose(boolean disposing)
{
}
@Override
public void Dispose()
{
this.Dispose(true);
}
/**
*
*
* @param obj
*
*/
@Override
public boolean equals(Object obj)
{
return (obj instanceof Song) ? Equals((Song)obj) : false;
}
/**
*
*
* @param other
*
*/
@Override
public boolean Equals(Song other)
{
// TODO Auto-generated method stub
return false;
}
/**
*
*/
protected void finalize()
{
this.Dispose(false);
}
/**
*
* @param name
* @param uri
* @return
*/
public static Song FromUri(String name, Uri uri)
{
throw new NotImplementedException();
}
/**
*
* @return
*/
@Override
public int hashCode()
{
throw new NotImplementedException();
}
private void ThrowIfDisposed()
{
if (this.isDisposed)
{
throw new ObjectDisposedException(this.getClass().toString(), "This object has already been disposed.");
}
}
/**
*
*/
@Override
public String toString()
{
throw new NotImplementedException();
}
}