|
Jalopy 1.0b10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.hunsicker.jalopy.language.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
Inner Class Summary | |
static class |
ClassRepositoryEntry.Info
Provides information about a repository entry. |
Constructor Summary | |
ClassRepositoryEntry(ClassRepositoryEntry.Info info,
Set data)
Creates a new ClassRepositoryEntry object. |
|
ClassRepositoryEntry(File location,
long lastModified,
Set data)
Creates a new ClassRepositoryEntry object. |
Method Summary | |
boolean |
equals(Object o)
{@inheritDoc} |
Set |
getData()
Returns the current data. |
ClassRepositoryEntry.Info |
getInfo()
Returns the entry information. |
static ClassRepositoryEntry.Info |
getInfo(File file)
Returns the entry information for the given repository entry file. |
int |
hashCode()
{@inheritDoc} |
void |
setData(Set data)
Sets the data of the entry. |
String |
toString()
{@inheritDoc} |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ClassRepositoryEntry(ClassRepositoryEntry.Info info, Set data)
info
- the entry information.data
- set with the actual data.public ClassRepositoryEntry(File location, long lastModified, Set data)
location
- the location of the original source.lastModified
- data
- contents.Method Detail |
public static ClassRepositoryEntry.Info getInfo(File file) throws IOException
file
- repository entry file (those ending with .jdb
).IOException
- if an I/O error occured.public void setData(Set data)
data
- data (of type <String>
).public Set getData()
<String>
).public ClassRepositoryEntry.Info getInfo()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Jalopy 1.0b10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |