question: @ Override @ SuppressWarnings ( "UnusedReturnValue" ) public Object executeCommand ( final int commandID , final Object [ ] args ) { if ( ! isSetup ) { throw new RuntimeException ( "You must call viewer.setupViewer(); before you call any commands" ) ; } return currentCommands . executeCommand ( commandID , args ) ; }
target:  Execute Jpedal functionality from outside of the library using this method. EXAMPLES commandID = Commands.OPENFILE, args = {"/PDFData/Hand_Test/crbtrader.pdf}" commandID = Commands.OPENFILE, args = {byte[] = {0,1,1,0,1,1,1,0,0,1}, "/PDFData/Hand_Test/crbtrader.pdf}" commandID = Commands.ROTATION, args = {"90"} commandID = Commands.OPENURL,  args = {"http://www.cs.bham.ac.uk/~axj/pub/papers/handy1.pdf"} for full details see http://www.idrsolutions.com/access-pdf-viewer-features-from-your-code/