|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.linuxsampler.lscp.DbDirectoryInfo
public class DbDirectoryInfo
Provides information about a database instrument directory.
Constructor Summary | |
---|---|
DbDirectoryInfo(java.lang.String[] resultSet)
Creates a new instance of DbDirectoryInfo . |
Method Summary | |
---|---|
java.util.Date |
getDateCreated()
Returns the date when the directory is created. |
java.util.Date |
getDateModified()
Returns the date when the directory is last modified. |
java.lang.String |
getDescription()
Gets a brief description about this directory. |
java.lang.String |
getDirectoryPath()
Returns the absolute path name of the directory or null if the parent directory path is not set. |
java.lang.String |
getName()
Gets the name of this directory. |
java.lang.String |
getParentDirectoryPath()
Returns the absolute path name of the directory containing this directory. |
boolean |
getShowAbsolutePath()
Determines whether the toString()
method should return the directory name or
the absolute path name of the directory. |
boolean |
parse(java.lang.String s)
Parses a line of text. |
void |
setName(java.lang.String name)
Sets the name of this directory. |
void |
setParentDirectoryPath(java.lang.String dir)
Sets the absolute path name of the directory containing this directory. |
void |
setShowAbsolutePath(boolean b)
Sets whether the toString() method
should return the absolute path name of the directory. |
java.lang.String |
toString()
Returns the name or the absolute path name of the directory as specified by getShowAbsolutePath() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DbDirectoryInfo(java.lang.String[] resultSet) throws LscpException
DbDirectoryInfo
.
resultSet
- An array with information categories about a DB directory.
LscpException
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of this directory.public java.lang.String getDescription()
public java.util.Date getDateCreated()
public java.util.Date getDateModified()
public java.lang.String getDirectoryPath()
null
if the parent directory path is not set.
public java.lang.String getParentDirectoryPath()
public void setParentDirectoryPath(java.lang.String dir)
public boolean parse(java.lang.String s) throws LscpException
s
- The string to be parsed.
true
if the line has been processed, false
otherwise.
LscpException
- If some error occurs.public boolean getShowAbsolutePath()
toString()
method should return the directory name or
the absolute path name of the directory.
The default value is false
.
public void setShowAbsolutePath(boolean b)
toString()
method
should return the absolute path name of the directory.
b
- If true
the toString()
method will return the absolute path name of the directory
instead of the directory name.public java.lang.String toString()
getShowAbsolutePath()
.
toString
in class java.lang.Object
setShowAbsolutePath(boolean)
|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |