Interface AbstractFSPatcherCallback
-
- All Known Implementing Classes:
FSPatcherCallbackImpl,UndoAbstractFSPatcherCallback
public interface AbstractFSPatcherCallback- Author:
- Eugene Petrenko Created: 20.05.2009 19:19:45
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDirectory(File file)voiddeleteFile(File filePath, boolean deleteParentDirectoryIfEmpty, boolean isFile)voidrenameFile(File file, File newPath, boolean deleteParentDirectoryIfEmpty, boolean isFile)voidreplaceBinary(File file, long length, boolean newFile, LowLevelPatcherListener.ReadFileContent content)voidreplaceTextUsingBytes(File filePath, long size, byte[] sep, boolean newFile, LowLevelPatcherListener.ReadFileContent content)voidsetFileMode(File filePath, String fileMode)voidsetReadonlyAttribute(File filePath, boolean isReadonly)voidsetTimeStamp(File filePath, long timeStamp)
-
-
-
Method Detail
-
addDirectory
void addDirectory(@NotNull File file) throws IOException- Throws:
IOException
-
deleteFile
void deleteFile(@NotNull File filePath, boolean deleteParentDirectoryIfEmpty, boolean isFile) throws IOException- Throws:
IOException
-
renameFile
void renameFile(@NotNull File file, @NotNull File newPath, boolean deleteParentDirectoryIfEmpty, boolean isFile) throws IOException- Throws:
IOException
-
replaceBinary
void replaceBinary(@NotNull File file, long length, boolean newFile, @NotNull LowLevelPatcherListener.ReadFileContent content) throws IOException- Throws:
IOException
-
replaceTextUsingBytes
void replaceTextUsingBytes(@NotNull File filePath, long size, @NotNull byte[] sep, boolean newFile, @NotNull LowLevelPatcherListener.ReadFileContent content) throws IOException- Throws:
IOException
-
setFileMode
void setFileMode(@NotNull File filePath, @NotNull String fileMode) throws IOException- Throws:
IOException
-
setTimeStamp
void setTimeStamp(@NotNull File filePath, long timeStamp) throws IOException- Throws:
IOException
-
setReadonlyAttribute
void setReadonlyAttribute(@NotNull File filePath, boolean isReadonly) throws IOException- Throws:
IOException
-
-