ru.orbita.nplayer.playlist
Class TransferrableSoundFile

java.lang.Object
  extended by java.io.File
      extended by ru.orbita.nplayer.playlist.TransferrableSoundFile
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<java.io.File>

public class TransferrableSoundFile
extends java.io.File

Date: 13.01.2006 Time: 20:24:04

Version:
1.0
Author:
Alexander Levantovsky
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
TransferrableSoundFile(SoundFile sf, int id, boolean curr)
           
 
Method Summary
 int getlistID()
          Идентификатор плейлиста, которому принадлежит этот элемент
 SoundFile getSoundFile()
           
 boolean isCurrent()
           
 
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransferrableSoundFile

public TransferrableSoundFile(SoundFile sf,
                              int id,
                              boolean curr)
Method Detail

getSoundFile

public SoundFile getSoundFile()

getlistID

public int getlistID()
Идентификатор плейлиста, которому принадлежит этот элемент

Returns:
Идентификатор

isCurrent

public boolean isCurrent()