ch.claudio.jars.data
Class JarInfo

java.lang.Object
  extended by ch.claudio.jars.data.JarInfo

public class JarInfo
extends java.lang.Object

Version:
$Id:$
Author:
Claudio Nieder

Copyright (C) 2007-2008 Claudio Nieder <private@claudio.ch>, CH-8610 Uster

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


Constructor Summary
JarInfo(java.lang.String locationArg)
           
JarInfo(java.lang.String locationArg, long time)
           
 
Method Summary
 long getLastVisited()
           
 java.lang.String getLocation()
           
static void main(java.lang.String[] args)
          Print license.
 boolean sameLocation(JarInfo other)
          Return true if the other JarInfo refers to the same location.
 void setLastVisited(long lastVisitedArg)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JarInfo

public JarInfo(java.lang.String locationArg)
Parameters:
locationArg -

JarInfo

public JarInfo(java.lang.String locationArg,
               long time)
Parameters:
locationArg -
time -
Method Detail

getLastVisited

public long getLastVisited()
Returns:
the lastVisited

setLastVisited

public void setLastVisited(long lastVisitedArg)
Parameters:
lastVisitedArg - the lastVisited to set

getLocation

public java.lang.String getLocation()
Returns:
the location

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

sameLocation

public boolean sameLocation(JarInfo other)
Return true if the other JarInfo refers to the same location.

Parameters:
other -
Returns:
true if location equal.

main

public static void main(java.lang.String[] args)
Print license.

Parameters:
args - ignored