|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hunsicker.jalopy.language.ClassRepositoryEntry
public class ClassRepositoryEntry
Represents a repository entry for a given Java library. An entry consists of meta information and the actual data stored in a set.
ClassRepository
Nested Class Summary | |
---|---|
static class |
ClassRepositoryEntry.Info
Provides information about a repository entry. |
Constructor Summary | |
---|---|
ClassRepositoryEntry(ClassRepositoryEntry.Info info,
java.util.Set data)
Creates a new ClassRepositoryEntry object. |
|
ClassRepositoryEntry(java.io.File location,
long lastModified,
java.util.Set data)
Creates a new ClassRepositoryEntry object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.util.Set |
getData()
Returns the current data. |
ClassRepositoryEntry.Info |
getInfo()
Returns the entry information. |
static ClassRepositoryEntry.Info |
getInfo(java.io.File file)
Returns the entry information for the given repository entry file. |
int |
hashCode()
|
void |
setData(java.util.Set data)
Sets the data of the entry. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassRepositoryEntry(ClassRepositoryEntry.Info info, java.util.Set data)
info
- the entry information.data
- set with the actual data.public ClassRepositoryEntry(java.io.File location, long lastModified, java.util.Set data)
location
- the location of the original source.lastModified
- data
- contents.Method Detail |
---|
public static ClassRepositoryEntry.Info getInfo(java.io.File file) throws java.io.IOException
file
- repository entry file (those ending with .jdb
).
java.io.IOException
- if an I/O error occured.public void setData(java.util.Set data)
data
- data (of type <String>
).public java.util.Set getData()
<String>
).public ClassRepositoryEntry.Info getInfo()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |