|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbass.dto.Genrelist
public class Genrelist
Simple Class representing a genre list
| Field Summary | |
|---|---|
private java.lang.String[] |
genres
|
| Constructor Summary | |
|---|---|
Genrelist()
generates an empty genrelist |
|
Genrelist(java.lang.String[] genres)
generates a genrelist with the specified genres |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getGenres()
|
void |
readGenresFromFile(java.lang.String fileName)
sets the genre list to the genres specified in genres.txt (all genres) |
void |
setGenres(java.lang.String[] genres)
sets the genre list to the current genres |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String[] genres
| Constructor Detail |
|---|
public Genrelist(java.lang.String[] genres)
genres - public Genrelist()
| Method Detail |
|---|
public java.lang.String[] getGenres()
public void setGenres(java.lang.String[] genres)
genres - the genres to setpublic void readGenresFromFile(java.lang.String fileName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||