blob: 078ece924d1927058b9f77390a307419c6449262 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package TP4;
import java.io.*;
public abstract class AbstractAudioElement implements IelementAudio{
private String Name;
private String Path;
private File fichier;
public String getName() {
return Name;
}
public void setName(String name) {
Name = name;
}
public String getPath() {
return Path;
}
public void setPath(String path) {
Path = path;
}
public File getFichier() {
return fichier;
}
public void setFichier(File fichier) {
this.fichier = fichier;
}
public AbstractAudioElement(String p){
setPath(p);
fichier= new File(Path);
}
}
|