Jalopy 1.0b10

de.hunsicker.jalopy.language
Class ClassRepositoryEntry.Info

java.lang.Object
  |
  +--de.hunsicker.jalopy.language.ClassRepositoryEntry.Info
All Implemented Interfaces:
Comparable, Serializable
Enclosing class:
ClassRepositoryEntry

public static final class ClassRepositoryEntry.Info
extends Object
implements Serializable, Comparable

Provides information about a repository entry.

See Also:
Serialized Form

Constructor Summary
ClassRepositoryEntry.Info(File location)
          Creates a new Info object.
 
Method Summary
 int compareTo(Object o)
          Compares this object with the specified object for order.
 boolean equals(Object o)
           
 String getFilename()
          Returns the filename under which this entry is stored.
 File getLocation()
          Returns the original location of the entry's data.
 int hashCode()
          {@inheritDoc}
 boolean isLoaded()
           
 boolean isRefreshable()
          Determines whether this entry can be refreshed.
 void setLoaded(boolean loaded)
           
 String toString()
          {@inheritDoc}
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassRepositoryEntry.Info

public ClassRepositoryEntry.Info(File location)
Creates a new Info object.
Parameters:
location - location of the source for the entry (either file or directory are valid).
Throws:
IllegalArgumentException - if location does not denote an existing archive or directory.
Method Detail

getFilename

public String getFilename()
Returns the filename under which this entry is stored.
Returns:
the filename of the entry.

setLoaded

public void setLoaded(boolean loaded)

isLoaded

public boolean isLoaded()

getLocation

public File getLocation()
Returns the original location of the entry's data.
Returns:
the original location.

isRefreshable

public boolean isRefreshable()
Determines whether this entry can be refreshed.
Returns:
true if the entry can be refreshed.

compareTo

public int compareTo(Object o)
Compares this object with the specified object for order.
Specified by:
compareTo in interface Comparable
Parameters:
o - the object to be compared.
Returns:
a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
Throws:
ClassCastException - if the specified object's type prevents it from being compared to this object.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
{@inheritDoc}
Overrides:
hashCode in class Object

toString

public String toString()
{@inheritDoc}
Overrides:
toString in class Object

Jalopy 1.0b10

Submit a bug or feature.

For further information and documentation, visit the official Jalopy website.
This page generated: November 14 2002