*/
-public class EntityVideo extends Entity
+public class EntityVideo extends EntityUploadedMedia
{
- private static int instances;
public EntityVideo()
{
super();
- instances++;
}
public EntityVideo(StorageObject theStorage) {
//
// methods
- public byte[] getVideoData()
+ public byte[] getVideoData() throws StorageObjectException
{
Connection con=null;Statement stmt=null;
return video_data;
}
- public void setVideoData(byte[] uploadData)
+ public void setVideoData(byte[] uploadData) throws StorageObjectException
{
if (uploadData!=null) {
Connection con=null;PreparedStatement pstmt=null;
super.setValues(theStringValues);
}
-
- public void finalize() {
- instances--;
- super.finalize();
- }
-
}