krismanohar Apr 19th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     protected static boolean performActionInFileFromStartToEnd(File file, ItemAction action,int startIndex, int endIndex ){
  2.         return performActionInFileFromStartToEndAndCloseAction(file, action, startIndex, endIndex, new ItemAction() {
  3.             @Override
  4.             public boolean doAction(File item) {   
  5.                 return true;
  6.             }
  7.         });//Null close action
  8.     }
  10.     protected static boolean performActionInFile(File file, ItemAction action){
  11.         return performActionInFileFromStartToEnd(file, action, 0, -1);//internal signal to do all
  12.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand