packets
Class Clip

java.lang.Object
  extended by packets.Clip
All Implemented Interfaces:
java.io.Serializable

public class Clip
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 int id
          Id of the clip.
 java.lang.String length
          The length of the clip, given in time code format
 java.lang.String name
          Name of the clip.
 java.lang.String pathname
          The pathname of the clip is the full path of the clip as used on the clip recorder
 
Constructor Summary
Clip(java.lang.String name)
          Constructor with name as input, this just sets a name and generates and id.
 
Method Summary
 void setLength(java.lang.String length)
          Sets the clips length
 void setPath(java.lang.String path)
          Sets the clips path
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public int id
Id of the clip. Unique identifier


name

public java.lang.String name
Name of the clip. This is the file name in the folder


pathname

public java.lang.String pathname
The pathname of the clip is the full path of the clip as used on the clip recorder


length

public java.lang.String length
The length of the clip, given in time code format

Constructor Detail

Clip

public Clip(java.lang.String name)
Constructor with name as input, this just sets a name and generates and id. Pathname and length must be set with the public methods

Parameters:
name -
Method Detail

setPath

public void setPath(java.lang.String path)
Sets the clips path

Parameters:
path -

setLength

public void setLength(java.lang.String length)
Sets the clips length

Parameters:
length -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object