Here you can find the source of shiftArgs(String[] args, int offset)
public static String[] shiftArgs(String[] args, int offset)
//package com.java2s; public class Main { public static String[] shiftArgs(String[] args, int offset) { String[] shiftedArgs = new String[args.length - offset]; for (int i = offset; i < args.length; i++) { shiftedArgs[i - offset] = args[i]; }/* w w w. ja v a 2 s . com*/ return shiftedArgs; } }