class DirFileRef extends Object
DirType
and a DirState
for use by this object or DirType
and a MusicMakerTunesHelper
MusicMaker.{ "dirFile": "/home/tgutwin/Music", "dirType": "TOPDIR", "dirState": "LONG", "refKey": "0" }NOTE: that the dirType and dirState class vars are represented with the
DirType
and a DirState
enum types within this super class.Modifier and Type | Class and Description |
---|---|
static class |
DirFileRef.DirState
An Enum for the allowed states for the directory file - either long or short.
|
static class |
DirFileRef.DirType
An enum TYPE for the allowed Directory Types defining the TYPE for the dirType class var.
|
Modifier and Type | Field and Description |
---|---|
(package private) String |
dirFile |
(package private) DirFileRef.DirState |
dirState |
(package private) DirFileRef.DirType |
dirType |
(package private) String |
refKey |
Constructor and Description |
---|
DirFileRef()
Constructs with default values - UNDEFINED.
|
DirFileRef(String refKey,
String dirFile,
DirFileRef.DirType dirType,
DirFileRef.DirState dirState)
Constructs with passed in values .
|
Modifier and Type | Method and Description |
---|---|
String |
getDirFile() |
DirFileRef.DirState |
getDirState() |
DirFileRef.DirType |
getDirType() |
String |
getRefKey() |
void |
setDirFile(String dirFile) |
void |
setDirState(DirFileRef.DirState dirState) |
void |
setDirType(DirFileRef.DirType dirType) |
void |
setRefKey(String refKey) |
String |
toString() |
DirFileRef.DirType dirType
DirFileRef.DirState dirState
public DirFileRef()
public DirFileRef(String refKey, String dirFile, DirFileRef.DirType dirType, DirFileRef.DirState dirState)
public void setDirFile(String dirFile)
public String getDirFile()
public void setDirType(DirFileRef.DirType dirType)
public DirFileRef.DirType getDirType()
public void setDirState(DirFileRef.DirState dirState)
public DirFileRef.DirState getDirState()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses