Package org.scictrl.csshell.directory
Class Directory
java.lang.Object
org.scictrl.csshell.directory.Directory
Directory class.
- Author:
- igor@scictrl.com
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRecord.boolean
isDeprecated
(String name) isDeprecated.lookupRecord
(String name) lookupRecord.static void
main.resolveAlias
(String alias) If record provides name and alias, then this method will convert one to the other.int
size()
size.toString()
-
Constructor Details
-
Directory
public Directory()Constructor for Directory.
-
-
Method Details
-
main
main.
- Parameters:
args
- an array ofString
objects
-
addRecord
addRecord.
- Parameters:
r
- aRecord
object
-
resolveAlias
If record provides name and alias, then this method will convert one to the other.- Parameters:
alias
- the name or alias to be converted- Returns:
- valid name or alias
-
lookupRecord
lookupRecord.
-
isDeprecated
isDeprecated.
- Parameters:
name
- aString
object- Returns:
- a boolean
-
size
public int size()size.
- Returns:
- a int
-
toString
-