de.glossmaker.bib.datastructure
Class BibItems
java.lang.Object
de.glossmaker.bib.datastructure.BibItems
- All Implemented Interfaces:
- IItems
public class BibItems
- extends Object
- implements IItems
- Author:
- Markus Flingelli
Constructor Summary |
BibItems()
|
BibItems(String fileName)
If the fileName not equals null then the file will be read. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BibItems
public BibItems()
BibItems
public BibItems(String fileName)
- If the fileName not equals null then the file will be read.
- Parameters:
fileName
- File name
clear
public void clear()
- Specified by:
clear
in interface IItems
size
public int size()
- Specified by:
size
in interface IItems
getItem
public IItem getItem(int index)
- Specified by:
getItem
in interface IItems
add
public boolean add(IItem item)
- Specified by:
add
in interface IItems
remove
public boolean remove(IItem item)
- Specified by:
remove
in interface IItems
readFromFile
public StringBuffer readFromFile(String fileName)
- Specified by:
readFromFile
in interface IItems
writeToFile
public void writeToFile(String fileName)
- Specified by:
writeToFile
in interface IItems
getItem
public IItem getItem(String key)
count
public int count(EBibTeXReference reference)
getItems
public ArrayList<IItem> getItems(EBibTeXReference reference)
existsKey
public boolean existsKey(String key)
save
public void save()
getFileName
public String getFileName()
setFileName
public void setFileName(String fileName)
Copyright © 2010 - 2011 Markus Flingelli. All Rights Reserved.