改了部分程序还是错误:
dbManipulations.java:44: Note: class com.f1j.jdbc.JDBCImpl has been deprecated.
com.f1j.jdbc.JDBCImpl m_gridJDBC = new com.f1j.jdbc.JDBCImpl(sheet);
^
dbManipulations.java:44: Note: The constructor com.f1j.jdbc.JDBCImpl(com.f1j.ss.Sheet) has been deprecated.
com.f1j.jdbc.JDBCImpl m_gridJDBC = new com.f1j.jdbc.JDBCImpl(sheet);使用到的类如下:
public class JDBCImpl
implements JDBC
{ SheetImpl a = null;
private boolean b = false;
private FormatBuffer c = null; public JDBCImpl(Sheet sheet)
{
b = true;
c = new FormatBuffer();
a = (SheetImpl)sheet;
}
dbManipulations.java:44: Note: class com.f1j.jdbc.JDBCImpl has been deprecated.
com.f1j.jdbc.JDBCImpl m_gridJDBC = new com.f1j.jdbc.JDBCImpl(sheet);
^
dbManipulations.java:44: Note: The constructor com.f1j.jdbc.JDBCImpl(com.f1j.ss.Sheet) has been deprecated.
com.f1j.jdbc.JDBCImpl m_gridJDBC = new com.f1j.jdbc.JDBCImpl(sheet);使用到的类如下:
public class JDBCImpl
implements JDBC
{ SheetImpl a = null;
private boolean b = false;
private FormatBuffer c = null; public JDBCImpl(Sheet sheet)
{
b = true;
c = new FormatBuffer();
a = (SheetImpl)sheet;
}
生成一个interface的实例当然是错误的。
而且你所用的接口已经不被支持了。