com.bigzip.plugin.support.ui
Class TypeField
java.lang.Object
|
+--com.bigzip.plugin.support.ui.TypeField
- public class TypeField
- extends java.lang.Object
This object is used to help the UI and the user identify the nature
of the selected item being parsed from a file chooser table.
Constructor Summary |
TypeField()
Creates a new TypeField entry. |
TypeField(java.lang.String type,
boolean directory)
Creates a new TypeField entry. |
Method Summary |
java.lang.String |
getType()
Returns the file extention. |
boolean |
isDirectory()
Returns whether or not the entry is a directory. |
void |
setDirectory(boolean b)
Sets the entry to represent a directory. |
void |
setType(java.lang.String s)
Stores the file extention. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeField
public TypeField()
- Creates a new TypeField entry.
TypeField
public TypeField(java.lang.String type,
boolean directory)
- Creates a new TypeField entry.
- Parameters:
type
- the file extention.directory
- the object represents a directory
setDirectory
public void setDirectory(boolean b)
- Sets the entry to represent a directory.
setType
public void setType(java.lang.String s)
- Stores the file extention.
getType
public java.lang.String getType()
- Returns the file extention.
isDirectory
public boolean isDirectory()
- Returns whether or not the entry is a directory.