|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.debianmirror.mirror.data.MirrorFilePool
Represents all files known to the mirror module.
It creates new instances of MirrorFile if it didn't found an already existing instance in the mirrorFiles-collection. Maybe this collection should be a WeakHashMap?
| Constructor Summary | |
MirrorFilePool()
|
|
| Method Summary | |
MirrorFile |
getMirrorFile(java.lang.String fileName)
Will search the mirrorFiles collection for the file. If non is found it initiates a new MirrorFile object representing the fileName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MirrorFilePool()
| Method Detail |
public MirrorFile getMirrorFile(java.lang.String fileName)
Will search the mirrorFiles collection for the file.
If non is found it initiates a new MirrorFile object representing the fileName
If no file can be found or if the fileName is malformed this methode returns null.
fileName - what file to search for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||