Package adams.gui.core
Class RecentFilesHandlerWithCommandline.Setup
- java.lang.Object
-
- adams.gui.core.RecentFilesHandlerWithCommandline.Setup
-
- Enclosing class:
- RecentFilesHandlerWithCommandline<M>
public static class RecentFilesHandlerWithCommandline.Setup extends Object
Container class for storing file and optionhandler alongside. Format: file TAB commandline- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
check()
Performs a check whether this setup is valid.boolean
equals(Object obj)
Returns true if the other object is also aRecentFilesHandlerWithCommandline.Setup
instance and contains the same file.File
getFile()
Returns the file.Object
getHandler()
Returns the handler.int
hashCode()
Returns the hashCode of the file's absolute path.String
toString()
Returns the container setup as string.
-
-
-
Method Detail
-
getFile
public File getFile()
Returns the file.- Returns:
- the file
-
getHandler
public Object getHandler()
Returns the handler.- Returns:
- the handler (copy)
-
check
public boolean check()
Performs a check whether this setup is valid.- Returns:
- true if valid setup
-
toString
public String toString()
Returns the container setup as string.
-
hashCode
public int hashCode()
Returns the hashCode of the file's absolute path.
-
equals
public boolean equals(Object obj)
Returns true if the other object is also aRecentFilesHandlerWithCommandline.Setup
instance and contains the same file.
-
-