Package org.scictrl.csshell.directory
Class Directory
java.lang.Object
org.scictrl.csshell.directory.Directory
Directory class.
- Author:
- igor@scictrl.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecord.booleanisDeprecated(String name) isDeprecated.lookupRecord(String name) lookupRecord.static voidmain.resolveAlias(String alias) If record provides name and alias, then this method will convert one to the other.intsize()size.toString()
-
Constructor Details
-
Directory
public Directory()Constructor for Directory.
-
-
Method Details
-
main
main.
- Parameters:
args- an array ofStringobjects
-
addRecord
addRecord.
- Parameters:
r- aRecordobject
-
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- aStringobject- Returns:
- a boolean
-
size
public int size()size.
- Returns:
- a int
-
toString
-