net.drijf.javaone
Interface TestInterface


public interface TestInterface

This interface defines some methods that test code should implement. The TestMain class tries to execute the methods from code that has different permissions.

Author:
Otto Moerbeek
See Also:
TestMain

Method Summary
 void tryToCreateThread()
          Try to create a thread
 void tryToExitVM()
          Try to exit the VM
 java.lang.String tryToReadFile(java.lang.String file)
          Try to read a file
 

Method Detail

tryToReadFile

public java.lang.String tryToReadFile(java.lang.String file)
                               throws java.io.IOException
Try to read a file

tryToCreateThread

public void tryToCreateThread()
Try to create a thread

tryToExitVM

public void tryToExitVM()
Try to exit the VM