sdljava.cdrom
Class SDLCdTrack

java.lang.Object
  extended by sdljava.cdrom.SDLCdTrack

public class SDLCdTrack
extends java.lang.Object

CD Track Information

Version:
$Id: SDLCdTrack.java,v 1.3 2004/12/28 18:00:05 ivan_ganza Exp $

Field Summary
static int CD_FPS
           
(package private)  SDL_CDtrack swigTrack
           
 
Constructor Summary
protected SDLCdTrack(SDL_CDtrack swigTrack)
           
 
Method Summary
 FrameInfo getFrameInfo()
           
 int getId()
          Get the track number
 long getLength()
          Get the length (in frames) of this track
 long getOffset()
          Get the frame offset of the beginning of this track
 TrackType getType()
          Get the track type
 java.lang.String toString()
          Return a string represenation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CD_FPS

public static final int CD_FPS
See Also:
Constant Field Values

swigTrack

SDL_CDtrack swigTrack
Constructor Detail

SDLCdTrack

protected SDLCdTrack(SDL_CDtrack swigTrack)
Method Detail

getId

public int getId()
Get the track number

Returns:
the track number

getType

public TrackType getType()
Get the track type

Returns:
the track type

getLength

public long getLength()
Get the length (in frames) of this track

Returns:
the length (in frames) of this track

getOffset

public long getOffset()
Get the frame offset of the beginning of this track

Returns:
the frame offset of the beginning of this track

getFrameInfo

public FrameInfo getFrameInfo()

toString

public java.lang.String toString()
Return a string represenation of this object

Overrides:
toString in class java.lang.Object
Returns:
a String represenation of this object