|
Bibi 19 Oct 2005 21:04 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectujap.bibi.KeyGenerator
Defines methods required for classes that generate keys for bibtex entries.
Nested Class Summary | |
private static class |
KeyGenerator.KeyDialog
|
Field Summary | |
static int |
GENERATE_ALL
generate keys for all entries |
static int |
GENERATE_NONE
cancelled generation |
static int |
GENERATE_ONLY_EMPTY
generate keys only for those entries which have an empty key |
static int |
GENERATE_SELECTED
selected entry only |
private static KeyGenerator.KeyDialog |
keyDialog
|
private static ResourceBundle |
resources
|
Constructor Summary | |
KeyGenerator()
|
Method Summary | |
abstract void |
generateKey(Entry e,
Collection allEntries)
generate a key for a single Entry. |
abstract void |
generateKeysForAll(Collection c)
generate keys for all Entries in the Collection |
abstract void |
generateKeysForEmpty(Collection c)
generate keys for all Entries that do not have a key (null or empty String) yet. |
ResourceBundle |
getResources()
get the ResourceBundle for this class |
static int |
showDialog()
returns one of the constants GENERATE_ALL, GENERATE_ONLY_EMPTY, GENERATE_NONE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final ResourceBundle resources
public static final int GENERATE_ALL
public static final int GENERATE_ONLY_EMPTY
public static final int GENERATE_NONE
public static final int GENERATE_SELECTED
private static KeyGenerator.KeyDialog keyDialog
Constructor Detail |
public KeyGenerator()
Method Detail |
public abstract void generateKeysForAll(Collection c)
public abstract void generateKeysForEmpty(Collection c)
public abstract void generateKey(Entry e, Collection allEntries)
e
- the Entry for which to generate the key.allEntries
- a Collection of all entries; required because
keys have to be unique and if the generator doesn't know all
keys, it cannot be sure the newly generated one is unique.public ResourceBundle getResources()
public static int showDialog()
|
Bibi 19 Oct 2005 21:04 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |