|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.debianmirror.mirror.data.MirrorFile
| Nested Class Summary | |
class |
MirrorFile.Data
|
class |
MirrorFile.InputStream
|
| Constructor Summary | |
MirrorFile()
|
|
| Method Summary | |
MirrorFile |
createMirrorFile(java.lang.String fileName)
Translates the given fileName into a local store path If the file is not found there, it creates the remote request URL and requests the file from the RemoteDebianServer |
boolean |
equals(java.lang.Object obj)
Does override the equals methode of the Object-class. |
MirrorFile.InputStream |
getInputStream()
Returns the InputStream of this File |
int |
hashCode()
Does override the hashCode methode of the Object-class. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MirrorFile()
| Method Detail |
public MirrorFile createMirrorFile(java.lang.String fileName)
Translates the given fileName into a local store path
If the file is not found there, it creates the remote request URL and requests the file from the RemoteDebianServer
fileName - the file name representing the requested file
public MirrorFile.InputStream getInputStream()
Returns the InputStream of this File
public boolean equals(java.lang.Object obj)
Does override the equals methode of the Object-class.
equals in class java.lang.Objectobj - the reference object with which to compare.
public int hashCode()
Does override the hashCode methode of the Object-class. Creates an unique hashcode for every unique file in the mirrormodule-cache.
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||