📄 artist.java
字号:
package sql99;
import java.sql.*;
import java.io.*;
public class Artist implements SQLData, Serializable {
public String name;
public String imagespec;
public String bio;
private String sql_type;
public Artist() {}
public Artist(String type, String aName, String image, String bioText) {
sql_type = type;
name = aName;
imagespec = image;
bio = bioText;
}
public String getSQLTypeName() {
return sql_type;
}
public void readSQL(SQLInput stream, String type) throws SQLException {
sql_type = type;
name = stream.readString();
imagespec = stream.readString();
bio = stream.readString();
}
public void writeSQL(SQLOutput stream) throws SQLException {
stream.writeString(name);
stream.writeString(imagespec);
stream.writeString(bio);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -