|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SystemInterface
Various system calls are routed through an instance of this class; this enables test code to
interject itself where appropriate by assigning a different instance of SystemInterface to
FollowApp
.
Method Summary | |
---|---|
void |
exit(int code)
Used in lieu of System.exit(); |
java.io.File |
getFileFromUser()
Normally, this method should delegate to a file chooser or other appropriate file selection mechanism. |
Method Detail |
---|
java.io.File getFileFromUser()
void exit(int code)
code
- exit status code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |