MCPcopy Index your code
hub / github.com/beanshell/beanshell / main

Method main

src/bsh/Remote.java:41–53  ·  view source on GitHub ↗
( String args[] )

Source from the content-addressed store, hash-verified

39public class Remote
40{
41 public static void main( String args[] )
42 throws Exception
43 {
44 if ( args.length < 2 ) {
45 System.out.println(
46 "usage: Remote URL(http|bsh) file [ file ] ... ");
47 System.exit(1);
48 }
49 String url = args[0];
50 String text = getFile(args[1]);
51 int ret = eval( url, text );
52 System.exit( ret );
53 }
54
55 /**
56 Evaluate text in the interpreter at url, returning a possible integer

Callers

nothing calls this directly

Calls 3

getFileMethod · 0.95
evalMethod · 0.95
printlnMethod · 0.65

Tested by

no test coverage detected