public class jlanShares extends jlanApp
Display a list of the shares available on a remote server.
CmdLineArg, CmdLineArg1, CmdLineArg2, CmdLineArg3, CmdLineArg4, CmdLineArg5, CmdLineArg6, PropertiesFileName, PropertyBroadcast, PropertyConnectOrder, PropertyDebug, PropertyDomain, PropertyJCEProvider, PropertyNameScope, PropertyPassword, PropertyResolveOrder, PropertyUserName, PropertyWildcardName, PropertyWINS, RightAlign, SwitchDomain, SwitchPassword, SwitchUserName
Constructor and Description |
---|
jlanShares()
Class constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
doCommand(PrintStream out)
Perform the main command processing
|
static void |
main(String[] args)
Run the jlanShares command
|
protected void |
outputCommandHelp(PrintStream out)
Display the usage information for the command
|
protected boolean |
validateCommandLine(NameValueList cmdLine,
PrintStream out)
Validate the command line parameters
|
formatOutput, formatOutput, formatOutput, formatOutput, formatOutput, getCommandDescription, getCommandName, getDomain, getPassword, getSession, getShare, getUserName, hasCommandSwitches, hasSession, parseCommandLine, promptForPassword, runCommand, setSession, setShare
protected void outputCommandHelp(PrintStream out)
outputCommandHelp
in class jlanApp
out
- PrintStreamprotected void doCommand(PrintStream out) throws Exception
protected boolean validateCommandLine(NameValueList cmdLine, PrintStream out)
validateCommandLine
in class jlanApp
cmdLine
- NameValueListout
- PrintStreampublic static void main(String[] args)
args
- String[]Copyright © 2005–2018 Alfresco Software. All rights reserved.