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 void
addDirectory(File file)
void
deleteFile(File filePath, boolean deleteParentDirectoryIfEmpty, boolean isFile)
void
renameFile(File file, File newPath, boolean deleteParentDirectoryIfEmpty, boolean isFile)
void
replaceBinary(File file, long length, boolean newFile, LowLevelPatcherListener.ReadFileContent content)
void
replaceTextUsingBytes(File filePath, long size, byte[] sep, boolean newFile, LowLevelPatcherListener.ReadFileContent content)
void
setFileMode(File filePath, String fileMode)
void
setReadonlyAttribute(File filePath, boolean isReadonly)
void
setTimeStamp(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
-
-