11 files modified
1 files renamed
File was renamed from src/de/uhilger/fm/OrdnerBearbeiter.java |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |
| | |
| | | * @author Ulrich Hilger |
| | | * @version 1, 14. Mai 2021 |
| | | */ |
| | | public class OrdnerBearbeiter extends FileHelper implements FileVisitor { |
| | | public class CopyMoveVisitor extends FileHelper implements FileVisitor { |
| | | |
| | | private Path targetDir; |
| | | private int operation; |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |
| | |
| | | File targetFile = new File(targetDir, fileName); |
| | | //logger.fine(targetFile.getAbsolutePath()); |
| | | if (targetFile.isDirectory()) { |
| | | OrdnerBearbeiter bearbeiter = new OrdnerBearbeiter(); |
| | | CopyMoveVisitor bearbeiter = new CopyMoveVisitor(); |
| | | bearbeiter.setOperation(Const.OP_DELETE); |
| | | Files.walkFileTree(targetFile.toPath(), bearbeiter); |
| | | } else { |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |
| | |
| | | //logger.fine("srcFile: " + srcFile); |
| | | if (srcFile.isDirectory()) { |
| | | //logger.fine("srcFile is directory."); |
| | | OrdnerBearbeiter bearbeiter = new OrdnerBearbeiter(); |
| | | CopyMoveVisitor bearbeiter = new CopyMoveVisitor(); |
| | | bearbeiter.setTargetDir(targetDir.toPath()); |
| | | bearbeiter.setOperation(operation); |
| | | Files.walkFileTree(srcFile.toPath(), bearbeiter); |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |
| | |
| | | /* |
| | | neon-fm - File management extensions to Neon |
| | | fm - File management class library |
| | | Copyright (C) 2024 Ulrich Hilger |
| | | |
| | | This program is free software: you can redistribute it and/or modify |