01: package com.teamkonzept.webman.mainint.db;
02:
03: import java.io.*;
04: import java.sql.SQLException;
05:
06: public interface MediaInterface {
07:
08: public abstract String getMediaName() throws SQLException;
09:
10: public abstract Integer getMediaID();
11:
12: public abstract String getPath() throws SQLException, Throwable;
13:
14: /**
15: * to be called by TKTag.expandVariable().
16: * should write the media to disk and return the location.
17: */
18: public abstract String toString();
19: }
|