Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected static boolean performActionInFileFromStartToEnd(File file, ItemAction action,int startIndex, int endIndex ){
- return performActionInFileFromStartToEndAndCloseAction(file, action, startIndex, endIndex, new ItemAction() {
- @Override
- public boolean doAction(File item) {
- return true;
- }
- });//Null close action
- }
- protected static boolean performActionInFile(File file, ItemAction action){
- return performActionInFileFromStartToEnd(file, action, 0, -1);//internal signal to do all
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement