|
|||||||||
| Home >> All >> [ list overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
list
Class ListTitles

java.lang.Objectlist.ListTitles
- public class ListTitles
- extends java.lang.Object
Class ListTitles
| Field Summary | |
private java.lang.String |
FICHIER
|
private static ListTitles |
myListTitles
|
private java.util.Vector |
theTitles
|
| Constructor Summary | |
private |
ListTitles()
Create the list |
| Method Summary | |
boolean |
addNewTitle(datas.Title theTitle)
Method addNewTitle add a new title to the list. |
boolean |
deleteTitle(datas.Title theTitle)
Method deleteTitle delete the title. |
datas.Title |
findTheTitle(java.lang.String nameTitle,
java.lang.String author,
java.lang.String isbn)
Method findTheTitle with his name or his author or his isbn . |
static ListTitles |
getHandle()
Method getHandle return the unique object listTitles. |
java.util.Vector |
getTheTitles()
Gets the vector of all the titles. |
boolean |
readListFromDisk()
Method readListFromDisk read the data of the listTitles from the disk. |
boolean |
updateTitle(java.lang.String oldName,
java.lang.String newName,
java.lang.String author,
java.lang.String isbn,
boolean book)
Method updateTitle update the title. |
boolean |
writeListToDisk()
Method writeListToDisk write the data of the listTitles to the disk. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
FICHIER
private final java.lang.String FICHIER
- See Also:
- Constant Field Values
myListTitles
private static ListTitles myListTitles
theTitles
private java.util.Vector theTitles
| Constructor Detail |
ListTitles
private ListTitles()
- Create the list
| Method Detail |
getHandle
public static ListTitles getHandle()
- Method getHandle return the unique object listTitles.
getTheTitles
public java.util.Vector getTheTitles()
- Gets the vector of all the titles.
findTheTitle
public datas.Title findTheTitle(java.lang.String nameTitle, java.lang.String author, java.lang.String isbn)
- Method findTheTitle with his name or his author or his isbn
. usage :- to find with his name : findTheTitle(name,null,null)
- to find with his author : findTheTitle(null,author,null)
- to find with his isbn : findTheTitle(null,null,isbn)
addNewTitle
public boolean addNewTitle(datas.Title theTitle)
- Method addNewTitle add a new title to the list.
deleteTitle
public boolean deleteTitle(datas.Title theTitle)
- Method deleteTitle delete the title.
updateTitle
public boolean updateTitle(java.lang.String oldName, java.lang.String newName, java.lang.String author, java.lang.String isbn, boolean book)
- Method updateTitle update the title.
readListFromDisk
public boolean readListFromDisk()
- Method readListFromDisk read the data of the listTitles from the disk.
writeListToDisk
public boolean writeListToDisk()
- Method writeListToDisk write the data of the listTitles to the disk.
|
|||||||||
| Home >> All >> [ list overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
list.ListTitles