org.prorefactor
Class Console
java.lang.Object
org.prorefactor.Console
- Direct Known Subclasses:
- HowUsedConsole, WhereUsedConsole
public class Console
- extends java.lang.Object
Provides command-line access to ProRefactor configuration
and one or two features.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
protected java.io.BufferedReader reader
proparse
protected ProparseLdr proparse
session
protected RefactorSession session
Console
public Console()
main
public static void main(java.lang.String[] args)
uiLoop
public void uiLoop()
processSelection
protected void processSelection(java.lang.String choice)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildCUListFromFile
public java.util.Collection buildCUListFromFile(java.lang.String listFileName)
throws java.io.IOException
- Throws:
java.io.IOException
checkProjectIsLoaded
protected void checkProjectIsLoaded()
throws java.lang.Exception
- Throws:
java.lang.Exception
findCompileUnits
public java.util.Collection findCompileUnits(java.io.File dir)
loadProjectSettings
protected void loadProjectSettings()
throws java.lang.Exception
- Throws:
java.lang.Exception
menuSelect
protected java.lang.String menuSelect()
throws java.io.IOException
- Throws:
java.io.IOException
promptDirectory
protected java.io.File promptDirectory()
throws java.io.IOException
- Prompt for a directory.
- Returns:
- null if no valid directory selected.
- Throws:
java.io.IOException
showMenu
protected void showMenu()
showProparseVersion
protected void showProparseVersion()
Copyright © 2008 Joanju Software. All Rights Reserved.